Fix godoc style comments (#356)
This commit is contained in:
committed by
GitHub
parent
8f921fbfde
commit
2e1f8d29b5
10
main.go
10
main.go
@@ -16,13 +16,13 @@ import (
|
||||
"github.com/owncast/owncast/router"
|
||||
)
|
||||
|
||||
// the following are injected at build-time
|
||||
// the following are injected at build-time.
|
||||
var (
|
||||
//GitCommit is the commit which this version of owncast is running
|
||||
// GitCommit is the commit which this version of owncast is running.
|
||||
GitCommit = "unknown"
|
||||
//BuildVersion is the version
|
||||
// BuildVersion is the version.
|
||||
BuildVersion = "0.0.0"
|
||||
//BuildType is the type of build
|
||||
// BuildType is the type of build.
|
||||
BuildType = "localdev"
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
//getReleaseString gets the version string
|
||||
// getReleaseString gets the version string.
|
||||
func getReleaseString() string {
|
||||
return fmt.Sprintf("Owncast v%s-%s (%s)", BuildVersion, BuildType, GitCommit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user