https://github.com/aukgit/go-module-package-testing
Go modules training practice from youtube
https://github.com/aukgit/go-module-package-testing
go-module-go-packages go-modules go-modules-alim
Last synced: 5 months ago
JSON representation
Go modules training practice from youtube
- Host: GitHub
- URL: https://github.com/aukgit/go-module-package-testing
- Owner: aukgit
- License: mit
- Created: 2020-08-05T13:31:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-20T06:57:50.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T06:36:53.308Z (about 2 years ago)
- Topics: go-module-go-packages, go-modules, go-modules-alim
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-module-package-testing
- Following training from https://www.youtube.com/watch?v=Z1VhG7cf83M
## Packages added
- https://github.com/julienschmidt/httprouter
- go.uber.org/zap
## Run
- run `localhost:8080/hello/alim`
- run `localhost:8080` will log in console:
`{"level":"info","ts":1596650175.2169445,"caller":"go-module-package-testing/main.go:14","msg":"Success"}
`
## Commands Run
```batch
go mod init github.com/aukgit/go-module-package-testing
go get github.com/julienschmidt/httprouter
go get go.uber.org/zap
go mod tidy
```
# Shortcuts
- [Ctrl + K] Commit
- [Alt + F12] Terminals
- [Alt + 1] Projects