DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
Strings and Text
To Uppercase
To Uppercase in Go
To Uppercase in Go
Posted by
yhuang
Public (Editable by Users)
Language
Go
Dependencies
import "fmt"
import "strings"
fmt.Println()
strings.ToUpper()
Run
Go 1.15.5
Play
Copy
Copy To
Official Go Playground
Expand
Fork
Edit
main.go
package main import ( "fmt" "strings" ) func main() { fmt.Println(strings.ToUpper("Gopher")) }
Stdout
Stderr