zmienna golang w ciągu
package main
import (
"fmt"
)
func main() {
hello := "hello"
helloWorld := fmt.Sprintf("%s world", hello)
fmt.Println(helloWorld)
}
Bearbite
package main
import (
"fmt"
)
func main() {
hello := "hello"
helloWorld := fmt.Sprintf("%s world", hello)
fmt.Println(helloWorld)
}