コード例 #1
0
func main() {
	for i := 0; i < 6; i++ {
		hopwatch.Display("i", i)
		j := i * i
		hopwatch.Display("i", i, "j", j).Break(j > 10)
		hopwatch.Printf("%#v", "printf formatted value(s)")
		hopwatch.Break()
	}
}
コード例 #2
0
ファイル: scroll.go プロジェクト: johnvilsack/golang-stuff
func line() {
	hopwatch.Printf("Layers are objects on the map that consist of one or more separate items, but are manipulated as a single unit. Layers generally reflect collections of objects that you add on top of the map to designate a common association.")
}
コード例 #3
0
ファイル: demo1.go プロジェクト: johnvilsack/golang-stuff
func printNow() {
	hopwatch.Printf("time is: %v", time.Now())
	dumpArgs()
}