You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
z/own.go

22 lines
429 B
Go

package foo
// Go treats all files as if they are, more or less, in the same large
// file. Create separate files to help you and others find the code you
// need quickly.
import (
"log"
// if typing bonzai becomes tedious use capital Z as a convention
Z "github.com/rwxrob/bonzai"
)
var own = &Z.Cmd{
Name: `own`,
Call: func(caller *Z.Cmd, none ...string) error {
log.Print("I'm in my own file.")
return nil
},
}