https://github.com/tggcs/test-go-package
test-go-package
https://github.com/tggcs/test-go-package
Last synced: 2 months ago
JSON representation
test-go-package
- Host: GitHub
- URL: https://github.com/tggcs/test-go-package
- Owner: tggcs
- License: mit
- Created: 2024-03-01T12:06:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-01T12:48:32.000Z (about 1 year ago)
- Last Synced: 2025-01-27T08:43:55.894Z (4 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-go-package
test-go-packagetutorial: https://zhuanlan.zhihu.com/p/556830618
1. 创建test-go-package仓库
2. `cd ./test-go-package` && `go mod init github.com/tggcs/test-go-package`
3. `mkdir ./myfunc && cd ./myfunc && touch myfunc_test.go && touch myfunc.go`
4. 添加代码