on 94de6bc help sign in
17 lines 6.8 kB history raw
1  …   …  @@ -1,13 +1,15 @@  
2  1   1  package main 
3  2   2   
4  3   3  import ( 
5  4   4   "fmt" 
6     5 +  "strings" 
7  5   6  ) 
8  6   7   
9  7   8  func main() { 
10  8   9   fmt.Println(getContent()) 
11  9  10  } 
12 10  11   
13 11  12  func getContent() string { 
14 12    -  return "Hello, world!" 
15    13 +  content := strings.ToUpper("Hello, World!") 
16    14 +  return content 
17 13  15  }