go-mod-example

command module
v0.0.0-...-29b3c92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

go-mod-example

Go Modules Example

  • go mod init github.com/skyrocknroll/go-mod-example
  • You can dependency using go get which modules aware if the package is module enabled. https://tip.golang.org/cmd/go/#hdr-Module_aware_go_get
  • You can also explicitly add dependency in go.mod require block github.com/sirupsen/logrus v1.2.0
  • Write the code with dependencies
  • go build server.go will populate go.mod go.sum

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL