Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (12 loc) · 350 Bytes

developer.md

File metadata and controls

27 lines (12 loc) · 350 Bytes

Build for linux

env GOOS=linux GOARCH=amd64 go build

Build for MacOs

go build

Test

go test -coverprofile=coverage.out

Show test coverge

go tool cover -html=coverage.out

run the memcache server

docker run -p 11211:11211 memcached:alpine

To do pre-commit

ln -s $(pwd)/hooks/pre-commit .git/hooks/pre-commit