没有合适的资源?快使用搜索试试~ 我知道了~
hello-go
共51个文件
go:45个
txt:2个
sum:1个
需积分: 8 0 下载量 125 浏览量
2021-03-26
14:16:25
上传
评论
收藏 51KB ZIP 举报
温馨提示
你好 国防部 初始化,生成go.mod go mod init [模块名] 整理依赖包。扫描项目中依赖关系,将依赖包列表添加到go.mod文件中,自动删除错误或未使用的依赖包。 go mod tidy 包存档。依赖包复制到项目根目录/ vendor / go build -mod vendor -o ./project1 //project1 为编译后的包名,或如下面,加上文件名 go build -mod vendor -o ./project1 main.go 下载依赖包到本地缓存 go mod download 清理本地依赖包 go clean -modcache 添加类别依赖包 go mod edit -require=golang.org/x/text 除去固定依赖包 go mod edit -droprequire=golang.org/x/text 验证依赖是否正确 g
资源推荐
资源详情
资源评论
收起资源包目录
hello-go-main.zip (51个子文件)
hello-go-main
main_test.go 1KB
model
user.go 240B
test
datastruct
testdata
hello.txt 3KB
strconv_test.go 3KB
bytes_test.go 485B
container_test.go 2KB
regexp_test.go 3KB
strings_test.go 2KB
index_test.go 583B
text_test.go 740B
sort_test.go 2KB
time_test.go 5KB
interface_test.go 908B
core
expvar_test.go 735B
test_test.go 970B
errors_test.go 275B
sync_test.go 3KB
unsafe_test.go 340B
runtimetest
runtime_test.go 2KB
reflect_test.go 714B
pointer_test.go 2KB
type_test.go 2KB
slice_test.go 2KB
iotest
testdata
hello.txt 14KB
io_test.go 1KB
net_test.go 943B
net_http_test.go 332B
schema
defer_panic_recover_test.go 2KB
slice_chan_map_type_test.go 1KB
operator_precedence_test.go 273B
error_test.go 669B
fmt_test.go 6KB
struct_test.go 2KB
default_value_test.go 322B
goroutinetest
block_test.go 813B
channel_model_test.go 532B
main.go 2KB
context_test.go 3KB
goroutine_test.go 1KB
algorithm
math_test.go 343B
crypto
md5_test.go 681B
aes_test.go 15B
encoding
json_test.go 387B
router.go 1KB
middleware
db.go 515B
main.go 502B
.gitignore 344B
service
user_service.go 1KB
go.sum 7KB
README.md 2KB
go.mod 177B
共 51 条
- 1
资源评论
小小鹊
- 粉丝: 34
- 资源: 4534
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功