import "fmt" test "printf-a" { anotherstr => fmt.printf("the %v is: %v", "answer", 42), } $format = "a %v is: %v" test "printf-b" { anotherstr => fmt.printf($format, "cool number", 3.14159), }