golang-book/

directory
v0.0.0-...-f7aad2d Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT

README

Go

Resource

golang-book.com

CLI

  1. godoc <package> [function]

    Function: The name says it all.

  2. cd /where/to/package && go install

    Function: Compile our package and create a linkable object file.

  3. godoc /where/to/package FunctionName

    Function: Generate documentation for our package (with a specific function).

  4. godoc -http=":6060"

    Function: Create a local web documentation. Accessible via http://localhost:6060/pkg/.

Directories

Path Synopsis
math
package name is suggested to match the folder name
package name is suggested to match the folder name

Jump to

Keyboard shortcuts

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