README ¶ Simple Module An example of a simple Go module. Usage Add a dependency for a package. go get github.com/gocias/simple-module go get github.com/gocias/simple-module@v0.4.0 Use the "Hello" method from the module. package main import ( "fmt" simpmod "github.com/gocias/simple-module" ) func main() { fmt.Println(simpmod.Hello()) } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants func Hello() string Constants ¶ View Source const ConstHello = "Hello, World!" Variables ¶ This section is empty. Functions ¶ func Hello ¶ func Hello() string Hello Just the greeting... Types ¶ This section is empty. Source Files ¶ View all Source files hello.go Click to show internal directories. Click to hide internal directories.