E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Golang学习记录
Golang
并发 Context 的使用
Golang
并发Context的使用Go在1.7引入了context包,目的是为了在不同的goroutine之间或跨API边界传递超时、取消信号和其他请求范围内的值(与该请求相关的值。
26857259
·
2024-02-08 11:49
Golang
golang
开发语言
[设计模式Java实现附plantuml源码~行为型]请求的链式处理——职责链模式
前言:为什么之前写过
Golang
版的设计模式,还在重新写Java版?答:因为对于我而言,当然也希望对正在学习的大伙有帮助。Java作为一门纯面向对象的语言,更适合用于学习设计模式。
程序员三木
·
2024-02-08 10:20
设计模式
设计模式
java
开发语言
【
golang
】24、go get 和 go mod:indrect 与 go mod tidy
文章目录goget会执行如下操作:操作go.mod文件(add、update、remove)下载依赖到$GOPATH/pkg/mod中若已安装,则更新该包,到最新版本试验前置准备:首先删除已下载的依赖,rm-rf$GOPATH/pkg/mod/github.com/gorilla/websocket,该目录效果如下:然后开始试验:首先,刚开始建项目时,go.mod只有两行:module名和go版本
呆呆的猫
·
2024-02-08 08:50
#
golang
golang
开发语言
后端
Golang
基础 环境配置和包管理
Golang
基础环境和语法交叉编译windows下打包linux的运行程序。
26857259
·
2024-02-08 08:50
Golang
golang
开发语言
后端
【
golang
】23、gorilla websocket 源码:examples、数据结构、流程
文章目录一、examples1.1echo1.1.1server.go1.1.2client.go1.2command1.2.1功能和启动方式1.2.2home.html1.2.3main.go1.3filewatch1.3.1html1.3.2serveHome渲染模板1.3.3serveWs1.3.4writer()1.4bufferpool1.4.1server1.4.2client1.5c
呆呆的猫
·
2024-02-08 08:44
#
golang
计算机网络
golang
websocket
开发语言
协程的使用
Golang
原生支持协程。
荒古遗尘狗贼
·
2024-02-08 08:10
GA google_analysis数据埋点使用
学习记录
(GTM)
目录,可以直接点到实践那里开始看的,前面都是我整理笔记的资料理论部分1、将ga的创建代码在项目开始的时候运行一下,如下图。2、ga函数是什么3、发送数据实践申请账号和媒体资源:设置跟踪代码,衡量网页浏览怎么定义一次浏览、一个用户多次浏览的话如何保证数据精准其他参考设置跟踪事件插件使用转化指标GTM和GA半个多月之后。。。现在完成了GTM的埋点需求回来把文章写完,对整个GA和GTM的机制好像更理解了
sasaraku.
·
2024-02-08 07:25
前端
html5
html
javascript
Python
学习记录
(3)
1.从列表删除元素.insert(位置,'').remove()del语句.pop().count('').index('',start,end).reverse().sort()或者.sort(reverse=Ture)默认为False2.字符串方法1).capitalize()将小写字母改成大写字母>>>str2='xiaoxiezimu'>>>str2.capitalize()'Xiaoxi
爱吃果冻的小雪生
·
2024-02-08 06:48
Golang
基础 Go Modules包管理
Golang
基础GoModules包管理在Go项目开发中,依赖包管理是一个非常重要的内容,依赖包处理不好,就会导致编译失败,本文将系统介绍下Go的依赖包管理工具。
26857259
·
2024-02-08 06:01
Golang
golang
后端
开发语言
FPGA
学习记录
:第28章 VGA显示器驱动设计与验证
硬件平台:CycloneIVEEP4CE10F17C8开发平台:QuartusII64-BitVersion13.0.1Build23206/12/2013SP1SJFullVersion开发板:野火征途pro实验项目:vga_colorbar实验模块:vga_ctrl学习心得:1.简单驱动设计的流程与方法2.各驱动模块之前的时序匹配。3.模块之间有闭环,牵一发而动全身,所以在分别设计各个模块时要
阿坤不咕
·
2024-02-08 06:59
FPGA
fpga开发
驱动开发
Golang
Excel导入数据并标注此行背景色和异常数据提示暂时
项目架构:Echo+Gorm+excelize依赖开源项目:github.com/360EntSecGroup-Skylar/excelize开源项目中文文档:https://xuri.me/excelize/zh-hans/excel模板image.pngfuncImportAccountByExcel(cecho.Context)error{//文件地址path:=c.FormValue("p
承诺一时的华丽
·
2024-02-08 06:47
Pytorch
学习记录
-GEC语法纠错
Pytorch
学习记录
-GEC语法纠错01五月第一周要结束了,接下来的三个月主要是文献阅读,准备8、9月的开题报告,技术类的文献集中在GEC和Textmaching的应用方面,读完之后找demo复现,然后应用
我的昵称违规了
·
2024-02-08 05:49
Unity类银河恶魔城
学习记录
4-3 P56 On Hix FX源代码
Alex教程每一P的教程原代码加上我自己的理解初步理解写的注释,可供学习Alex教程的人参考此代码仅为较上一P有所改变的代码【Unity教程】从0编程制作类银河恶魔城游戏_哔哩哔哩_bilibiliEntity.csusingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;publicclassEntity:M
SuKacZev
·
2024-02-08 04:51
学习
Unity
类银河
C#
unity
游戏引擎
Unity类银河恶魔城
学习记录
4-5 P59 EnemyStunnedState源代码
Alex教程每一P的教程原代码加上我自己的理解初步理解写的注释,可供学习Alex教程的人参考此代码仅为较上一P有所改变的代码【Unity教程】从0编程制作类银河恶魔城游戏_哔哩哔哩_bilibiliEntityFX.csusingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;publicclassEntity
SuKacZev
·
2024-02-08 04:51
类银河城学习记录
学习
unity
C#
Unity
类银河
游戏引擎
Unity类银河恶魔城
学习记录
4-1,4-2 Attack Logic,Collider‘s collision excepetion源代码 P54 p55
Alex教程每一P的教程原代码加上我自己的理解初步理解写的注释,可供学习Alex教程的人参考此代码仅为较上一P有所改变的代码【Unity教程】从0编程制作类银河恶魔城游戏_哔哩哔哩_bilibiliEntity.csusingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;publicclassEntity:M
SuKacZev
·
2024-02-08 04:21
学习
C#
Unity
类银河
unity
游戏引擎
Unity类银河恶魔城
学习记录
4-4 4-5 P57-58 On Hit Impactp- Attack‘direction fix源代码
Alex教程每一P的教程原代码加上我自己的理解初步理解写的注释,可供学习Alex教程的人参考此代码仅为较上一P有所改变的代码【Unity教程】从0编程制作类银河恶魔城游戏_哔哩哔哩_bilibiliEntity.csusingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;publicclassEntity:M
SuKacZev
·
2024-02-08 04:49
学习
游戏引擎
C#
Unity
unity
Keras
学习记录
之模型编译-训练-评估-预测
模型编译compile调用格式Keras的模型编译的语法格式为:compile(optimizer,loss=None,metrics=None,loss_weights=None,sample_weight_mode=None,weighted_metrics=None,target_tensors=None)但我们最常用的还是以下这种:在完成了模型的构建后,可以使用.compile()来配置学
彭祥.
·
2024-02-08 02:59
深度学习
keras
学习
深度学习
【Go】三、Go并发编程
也叫做绿程、轻量级线程、协程python-asyncio、java-netty22111111111111115由于go语言是web2.0时代发展起来的语言,go语言没有多线程和多进程的写法,其只有协程的写法
golang
-gorouti
清河__
·
2024-02-08 02:20
Go
golang
开发语言
后端
Golang
中的struct能不能比较
同一个struct的2个实例能不能比较可以能,也可以不能typeT1struct{NamestringAgeintArr[2]boolptr*intslice[]intmap1map[string]string}funcmain(){t1:=T1{Name:"yxc",Age:1,Arr:[2]bool{true,false},ptr:new(int),slice:[]int{1,2,3},map
DevilRoshan
·
2024-02-08 01:46
2019-08-25 每日10分钟商务英语口语--
学习记录
(支付方式)
Howwouldyouliketohandlethepaymentterms?你们想怎么付款?必备词1.termsofpayment付款方式,付款条件2.irrevocable不可撤销的/ɪ'rɛvəkəbl/adj.不可改变的;不能取消的;不能挽回的3.remit汇款4.letterofcredit信用证5.draft汇票6.internationalbusiness国际贸易7.drawonsb
魔君BYL
·
2024-02-07 23:00
win bat
学习记录
该功能主要获取当前路径,然后执行该路劲下的python程序@echooffsetpath_local=%~dp0remecho修改前%path_local%callsetpath_local=%path_local:win运行脚本\=%remecho修改后%path_local%CD/D%path_local%remecho当前路径%cd%cmd/k%path_local%\venv\Script
雪球干死黄旭东
·
2024-02-07 23:58
杂项
学习
linux
运维
golang
windows 环境搭建 环境配置
golang
windows环境搭建环境配置
Golang
学习之路一环境搭建MacBookLinux树莓派raspberrypi安装
Golang
环境官网下载地址:https://go.dev/dl/https
beyond阿亮
·
2024-02-07 23:56
golang
golang
windows
开发语言
golang
学习笔记--字符串函数
packagemainimport"fmt"funcmain(){str:="你好"//6str1:="hello"//5//len()获得长度fmt.Println(len(str))fmt.Println(len(str1))}转换成切片,解决中文乱码packagemainimport"fmt"funcmain(){str:="hello你好"//6fori:=0;i
飞鸟malred
·
2024-02-07 22:24
golang
gopher
笔记
golang
开发语言
后端
golang
学习笔记--函数
funcmain(){varaint=1varbint=2c:=add(a,b)fmt.Println(c)}funcadd(aint,bint)(int){returna+b}函数调用机制值传递packagemainimport"fmt"functest(nint){n+=1fmt.Println("test-n=",n)}funcmain(){n:=10//根据赋值推断类型test(n)fmt
飞鸟malred
·
2024-02-07 21:54
golang
gopher
笔记
golang
java
开发语言
golang
学习笔记--包
实例:导入时要写相对路径(默认从根目录src开始算)packagemainimport("fmt""learn01/src/packTest/utils")funcmain(){varcint=0c=utils.Add(1,2)fmt.Print(c)}packageutils//名称第一个字母要大写funcAdd(aint,bint)(int){returna+b}被导入的包函数需要首字母大写,
飞鸟malred
·
2024-02-07 21:54
golang
gopher
笔记
golang
开发语言
后端
golang
学习笔记--接收键盘输入
获取用户输入的数据1,导入fmt2,调用方法1,scanln直到用户输入换行符才会停止扫描,可以看作扫描一行(推荐)packagemainimport"fmt"funcmain(){varnamestringvaragebytevarsalfloat32varisPassboolfmt.Print("请输入姓名")fmt.Scanln(&name)fmt.Print("请输入年龄")fmt.Sca
飞鸟malred
·
2024-02-07 21:53
gopher
笔记
golang
golang
学习
开发语言
GO语言学习笔记-方法篇 Study for Go ! Chapter five - Method
对于刚刚接触
golang
来说,经过这段时间的学习,对于GO这门语言已经有了初步的认识。博主接下来会继续学习
golang
的更多内容,持续更新中......GO语言学习笔记-类型篇StudyforGo!
Mercury_cc
·
2024-02-07 21:52
golang
学习
笔记
开发语言
后端
GO语言学习笔记-数据篇 Study for Go ! Chapter four - Data
对于刚刚接触
golang
来说,经过这段时间的学习,对于GO这门语言已经有了初步的认识。博主接下来会继续学习
golang
的更多内容,持续更新中......GO语言学习笔记-类型篇StudyforGo!
Mercury_cc
·
2024-02-07 21:22
golang
学习
笔记
开发语言
后端
GO语言学习笔记-反射篇 Study for Go ! Chapter nine - Reflect
对于刚刚接触
golang
来说,经过这段时间的学习,对于GO这门语言已经有了初步的认识。博主接下来会继续学习
golang
的更多内容,持续更新中......GO语言学习笔记-类型篇StudyforGo!
Mercury_cc
·
2024-02-07 21:22
golang
学习
笔记
开发语言
后端
GO语言学习笔记-类型篇 Study for Go! Chapter one - Type
对于刚刚接触
golang
来说,经过这段时间的学习,对于GO这门语言已经有了初步的认识。博主接下来会继续学习
golang
的更多内容,持续更新中......GO语言学习笔记-类型篇StudyforGo!
Mercury_cc
·
2024-02-07 21:22
golang
学习
笔记
开发语言
后端
睡前阅读
【林文采
学习记录
】出现偏差行为第一层:吸引注意力案例:父母在照顾二宝,父母在家忙工作,看手机,缺乏交流互动。
清晨的咖啡
·
2024-02-07 19:20
scrapy 初体验并写入csv(
学习记录
)
一。创建爬虫创建包进入包创建项目cd项目创建爬虫修改设置二。初体验三。学习笔记2.yieldrequestitemnone记得去setting打开通道!3.itemsname=scrapy.Field()相当于设置字典的keykey=caipiaoItem()key['key']=值yieldname4.存储数据的方案:1.数据存储到csv中数据分析2.数据存储到mysql数据库中业务逻辑3.数据
嚄825
·
2024-02-07 19:32
scrapy
学习
python
golang
解析yaml遇到的坑
golang
文件packagemainimport("fmt""io/ioutil""log"yaml"gopkg.in/yaml.v2")//YamltheyamlfileClusterstructtypeYamlstruct
土豆哪里去挖_331f
·
2024-02-07 18:40
golang
开发window环境搭建
1.本人开发环境:window10,idea2020.1.32.Go语言环境版本1.5.12.1.go语言插件下载地址csdn-安全中心2.1.1go的各个版本官网OtherVersions-GoLand2.2下载安装3.idea配置go环境4.创建go项目、5.运行
王大锤4391
·
2024-02-07 17:50
golang
golang
开发语言
后端
2D 物理引擎调研及游戏中的应用
Box2DVSChipmunk2D这里说的都是
Golang
版本Box2D:https://github.com/ByteArena/box2dChipmunk2D:https://github.com/
fananchong2
·
2024-02-07 15:21
服务器3D场景建模
游戏
2d
物理引擎
碰撞检测
包围盒查询
场景建模
第一章
golang
开山篇
1.1
Golang
的学习方向1.2
Golang
的应用领域1.2.1区块链的应用开发1.2.2后台的服务应用1.2.3云计算/云服务后台应用
qq_39500356
·
2024-02-07 12:18
golang
gem5学习——HeteroGarnet:对多样互连系统的详细模拟器
(本文是对gem5官方教程gem5:HeteroGarnet(Garnet3.0)的
学习记录
)HeteroGarnet在Garnet2.0网络模型的基础上进行了改进,能够精确模拟新兴互连系统。
Sakura懋
·
2024-02-07 11:18
gem5学习
学习
并发遍历树结构(
golang
)
packagemainimport("fmt""sync")//定义树节点结构typeNodestruct{ValueintLeft,Right*Node}//并发遍历树结构的函数funcConcurrentTraverse(node*Node,wg*sync.WaitGroup){ifnode==nil{wg.Done()return}//遍历左子树wg.Add(1)goConcurrentTr
不正经写文章的我
·
2024-02-07 09:17
golang
开发语言
后端
Java赋能:大学生成绩量化新篇章
专业做Java、Python、微信小程序、安卓、大数据、爬虫、
Golang
、大屏等实战项目。⛽⛽实战项目:有源码或者技术上的问题欢迎在评论区一起讨论交流!
计算机编程指导师
·
2024-02-07 09:16
Python实战集
Java实战集
大数据实战集
java
开发语言
vue.js
课程设计
mysql
spring
boot
成绩量化
Java+SpringBoot:构建稳定高效的计算机基础教学平台
专业做Java、Python、微信小程序、安卓、大数据、爬虫、
Golang
、大屏等实战项目。⛽⛽实战项目:有源码或者技术上的问题欢迎在评论区一起讨论交流!
计算机编程指导师
·
2024-02-07 09:15
Python实战集
Java实战集
大数据实战集
java
spring
boot
开发语言
vue.js
spring
算机基础网络
后端
船舶维保管理:Java与SpringBoot的完美结合
专业做Java、Python、微信小程序、安卓、大数据、爬虫、
Golang
、大屏等实战项目。⛽⛽实战项目:有源码或者技术上的问题欢迎在评论区一起讨论交流!
计算机编程指导师
·
2024-02-07 09:15
Python实战集
Java实战集
大数据实战集
java
spring
boot
开发语言
vue.js
mysql
后端
船舶维保
深入理解Go的垃圾回收机制
导语如果你是一位
Golang
的开发者,你一定对于语言特性和详细结构有所了解。但是,你是否曾经停下来深入研究过
Golang
背后复杂而强大的垃圾回收(GC)机制?
我是雷老师
·
2024-02-07 08:46
golang
golang
jvm
面试
毕业设计
Golang
开发:跨域配置
跨域中间件/lib/middleware/crossorigin_mv.gopackagemiddlewareimport("github.com/gin-gonic/gin""net/http")/***跨域设置*/funcCrossOriginMiddleware()gin.HandlerFunc{returnfunc(context*gin.Context){method:=context.
ArslanRobot
·
2024-02-07 08:12
Golang开发
golang
跨域
rclone基础命令解析及实战
rclone命令解析及实战1rclone介绍:远程同步工具rclone是一个开源的远程数据同步工具,由
Golang
编写,旨在在不同平台的文件系统和多种类型的对象存储产品之间提供数据同步功能。
NPE~
·
2024-02-07 08:34
demo
rclone
同步
存储
云厂商
教程
go
golang
引入swagger(iris、gin)
golang
引入swagger(iris、gin)在开发过程中,我们不免需要调试我们的接口,但是有些接口测试工具无法根据我们的接口变化而动态变化。文档和代码是分离的。总是出现文档和代码不同步的情况。
NPE~
·
2024-02-07 07:59
go
golang
gin
开发语言
接口
swagger
接口定义
开发规范
GoLang
学习笔记之进阶编程(一):文件操作
目录一、文件信息的获取二、文件的基本操作2.1.创建文件2.2.读取文件2.2.1.IO接口直接读2.2.2.带缓冲区的读(bufio)2.2.3.ioutil包直接读2.3.写入文件2.3.1.IO接口直接写2.3.2.带缓冲区的写(bufio)2.3.3.ioutil包直接写2.4.文件拷贝2.5.文件光标置位2.6.删除文件三、练习3.1.使用三种不同的方式实现文件拷贝3.2.断点续传3.3
Allen-LuLu
·
2024-02-07 07:56
GoLang进阶
golang
开发语言
后端
GoLang
学习笔记之进阶编程(四):标准库常用包
目录前言一、Sort包的基本使用二、Time包的基本使用2.1.获取时间2.2.格式化时间2.3.从字符串中解析时间2.4.获取时间戳2.5.时间的加减运算三、Flag包的基本使用四、net/http包的基本使用五、context包的使用5.1.WithCancel()5.2.WithDeadLine()5.3.WithTimeOut()5.4.WithValue()总结总结前言GO语言标准库为我
Allen-LuLu
·
2024-02-07 07:56
GoLang进阶
golang
开发语言
后端
GOLANG
进阶:Viper,Mysql,Swagger,Log
GOLANG
从浅入深必须学习的一些工具包1.Viper:Viper是一个完整的Go应用程序配置解决方案,优势就在于开发项目中你不必去操心配置文件的格式而是让你腾出手来专注于项目的开发。
masterphp
·
2024-02-07 07:55
GOLANG
golang
后端
文档资料
mysql
javascript
数据库
单例模式
Golang
学习路径
入门阶段:学习基本语法:了解Go语言的基本语法、数据类型、变量、函数、控制流等基础知识。学习标准库:熟悉Go标准库的常用包,如fmt、io、net等,掌握基本的输入输出、文件操作和网络编程等。进阶阶段:并发编程:学习Go语言的并发模型和并发编程技术,如Goroutine、通道(Channel)、互斥锁等,掌握并发编程的基本原理和使用方法。错误处理:了解Go语言的错误处理机制和最佳实践,学习如何处理
kioaaa
·
2024-02-07 07:24
golang
Golang
学习进阶资料整理
基础Go语言中文文档(官方文档)Iris中文文档(goWEB框架)Go入门视频(密码:zd5x)进阶
Golang
的反射(nil!=nil)
古宇hhh
·
2024-02-07 07:24
GO学习笔记
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他