The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
0
Stars
UNKNOWN
License
0
Downloads
January 1st 0001
Last Modified
Version:
Loading...

proverbs

Purpose

proverbs helps me explaining both modules and vanity import paths in my course Master Go.

You can use it for integrating Go proverbs into your code.

Usage

package main

import (
	"fmt"

	"appliedgo.net/proverbs"
)

func main() {
	fmt.Println("Random proverb:", proverbs.Random())
	for i := 0; i < 19; i++ {
		fmt.Printf("Proverb no %d: %s\n", i+1, proverbs.No(i))
	}
}