github.com/everlongproject/i18n4go@v0.2.7-0.20201028180611-670cbaceaa6b/examples/demo1/generate-language-resources (about)

     1  #!/usr/bin/env bash
     2  
     3  set -e
     4  
     5  go get github.com/jteeuwen/go-bindata/...
     6  
     7  echo " Generating i18n Resource file"
     8  go-bindata -pkg main -ignore ".go" -o ./i18n_resources.go ./i18n/resources/...