Implement parsing browser requests and sending errors (#9)
This commit is contained in:
15
version/version.go
Normal file
15
version/version.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package version
|
||||
|
||||
import "fmt"
|
||||
|
||||
const major = 3
|
||||
const minor = 0
|
||||
const patch = 0
|
||||
|
||||
// Code version as integer
|
||||
const Code = major*1000000 + minor*1000 + patch
|
||||
|
||||
// String version as string
|
||||
func String() string {
|
||||
return fmt.Sprintf("%d.%d.%d", major, minor, patch)
|
||||
}
|
Reference in New Issue
Block a user