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