Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qiuzhanghua/snippetbox
https://github.com/qiuzhanghua/snippetbox
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/qiuzhanghua/snippetbox
- Owner: qiuzhanghua
- License: cc0-1.0
- Created: 2023-07-17T04:52:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-21T02:07:23.000Z (over 1 year ago)
- Last Synced: 2023-07-21T02:51:58.384Z (over 1 year ago)
- Language: Go
- Size: 81.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Learn with
Let's go!For TLS:
```bash
mkdir tls
cd tls
go run $GOROOT/src/crypto/tls/generate_cert.go --rsa-bits=2048 -host=localhost
```### Test
```bash
go test -v ./...
# or
go test ./cmd/web
``````bash
go test -v -run="^TestPing$" ./cmd/web/
go test -v -run="^TestHumanDate$/^UTC$" ./cmd/web/
go test -v -skip="^TestHumanDate$" ./cmd/web/# avoid cache
go test -count=1 ./cmd/web
# clean cache
go clean -testcache
# fast failure
go test -failfast ./cmd/web
# race detector
go test -race ./cmd/web
```