File size: 6,847 Bytes
2267554
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  …   …   @@ -1,13 +1,15 @@                               
  1   1   package main                                    
  2   2                                                   
  3   3   import (                                        
  4   4       "fmt"                                       
      5 +     "strings"                                   
  5   6   )                                               
  6   7                                                   
  7   8   func main() {                                   
  8   9       fmt.Println(getContent())                   
  9  10   }                                               
 10  11                                                   
 11  12   func getContent() string {                      
 12     -     return "Hello, world!"                      
     13 +     content := strings.ToUpper("Hello, World!") 
     14 +     return content                              
 13  15   }