> For the complete documentation index, see [llms.txt](https://til.devjugal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.devjugal.com/go/convert-string-to-uppercase.md).

# Convert String To Uppercase in Go

To convert a string to uppercase, we can take advantage of `strings` module of Golang.

## Example

```go
package main

import (
    "fmt"
    "strings"
)

func main() {
    myString := "Hello!"
    fmt.Println(strings.ToUpper(myString))
}
```

***Source:*** [***GeeksForGeeks***](https://www.geeksforgeeks.org/how-to-convert-a-string-in-uppercase-in-golang/)
