Skip to content

piyuo/libsrv

Repository files navigation

libsrv

Library for all GO server project

Requirement

we separate source code from gopath so we don't need worried lot of pkg file sync over dropbox

Environment Variables

PATH="$HOME/go/bin":"$GOPATH/bin" GO111MODULE=on GOPATH="/Users/cc/gopath" NAME="dev" REGION="US" BRANCH="master"

Git

clone source code to local.

git clone git@github.com:piyuo/libsrv.git

Test

unit test using go test

go clean -testcache
go test ./... -parallel 16

Update go.mod

To upgrade all dependencies at once for a given module, just run the following from the root directory of your module

This upgrades to the latest or minor patch release

go get -u ./...

use gopls

go get golang.org/x/tools/gopls@latest

Dev

go clean cache

go clean -cache -modcache -i -r

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published