Documentation ¶
Overview ¶
package hi exposes a few Go functions to be wrapped and used from Python.
Index ¶
Constants ¶
View Source
const ( Version = "0.1" // Version of this package Universe = 42 // Universe is the fundamental constant of everything )
Variables ¶
View Source
var ( Debug = false // Debug switches between debug and prod Anon = Person{Age: 1, Name: "<nobody>"} // Anon is a default anonymous person IntSlice = []int{1, 2} // A slice of ints IntArray = [2]int{1, 2} // An array of ints )
Functions ¶
func LookupQuestion ¶
LookupQuestion returns question for given answer.
Types ¶
type Couple ¶
Couple is a pair of persons
type Person ¶
Person is a simple struct
func NewActivePerson ¶
NewActivePerson creates a new Person with a certain amount of work done.
func NewPersonWithAge ¶
NewPersonWithAge creates a new Person with a specific age
Click to show internal directories.
Click to hide internal directories.