package main import ( "fmt" "os" passage "gogs.bullercodeworks.com/brian/passage-go" ) func main() { if len(os.Args) < 3 { fmt.Println("Usage: gopass ") os.Exit(1) } p := passage.CreatePassage(os.Args[1]) fmt.Println("Checksum: " + p.GetChecksumAsString()) fmt.Println("Password: " + p.GetPassword(os.Args[2])) }