Check out example codes for "golang upper case". It will help you in understanding the concepts better.

Code Example 1

package main 
  
import ( 
    "fmt"
    "strings"
) 
  
// Main method 
func main() { 
    str := "uppercase conversion"
  
    // Displaying strings 
    fmt.Println("Strings (before):") 
    fmt.Println("String 4:", str) 
  
    // Converting all the string into uppercase 
    // Using ToUpper() function 
    res := strings.ToUpper(str) 
  
    // Displaying the results 
    fmt.Println("\nStrings (after):") 
    fmt.Println("Result :", res) 
}

Learn ReactJs, React Native from akashmittal.com