github.com/Liam-Williams/i18n4go@v0.2.7-0.20201028180611-670cbaceaa6b/test_fixtures/extract_strings/s_option/input_files/app/app.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  func main() {
     6  	s := "a string"
     7  	fmt.Println(s)
     8  	newStruct := mystruct{
     9  		mystring: s,
    10  	}
    11  	fmt.Println(newStruct.mystring)
    12  }
    13  
    14  type mystruct struct {
    15  	mystring string `command:"app" description:"show the app details"`
    16  }