()
| 19 | var profileInfo []byte |
| 20 | |
| 21 | func init() { |
| 22 | buffer := &bytes.Buffer{} |
| 23 | fmt.Fprintf(buffer, "APIPark version: %s\n", Version) |
| 24 | fmt.Fprintf(buffer, "Golang version: %s\n", goVersion) |
| 25 | fmt.Fprintf(buffer, "Git commit hash: %s\n", gitCommit) |
| 26 | fmt.Fprintf(buffer, "Built on: %s\n", BuildTime) |
| 27 | fmt.Fprintf(buffer, "Built by: %s\n", buildUser) |
| 28 | //fmt.Fprintf(buffer, "Built by eosc version: %s\n", eoscVersion) |
| 29 | profileInfo = buffer.Bytes() |
| 30 | } |
| 31 | |
| 32 | func Build() *cli.Command { |
| 33 | return &cli.Command{ |
nothing calls this directly
no outgoing calls
no test coverage detected