func calcF1() {
	x := 1
	y := 2
	console.Print("Calculating F")
	result := library.CalculateF(x, y)
	console.Print(fmt.Sprintf("Got F = %d", result))
}
示例#2
0
func calcF2() {
	x := 1
	y := 2
	log.Debug("Calculating F")
	result := library.CalculateF(x, y)
	log.Debugf("Got F = %d", result)
}