package main import "fmt" func main() { fmt.Println("Hello world") c := fmt.Sprintf("Test text: %s", "formatted") fmt.Printf("Some text: %s", c) }