mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-07 20:41:49 +00:00
23 lines
397 B
Go
23 lines
397 B
Go
package main
|
|
|
|
import (
|
|
"flag"
|
|
"fmt"
|
|
)
|
|
|
|
// Version of the app
|
|
var Version = "snapshot"
|
|
|
|
var (
|
|
version = flag.Bool("version", false, "Print version")
|
|
)
|
|
|
|
func printVersion() {
|
|
fmt.Printf(`webhookd (%s)
|
|
Copyright (C) 2018 Nunux, Org.
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
|
|
Written by Nicolas Carlier.`, Version)
|
|
}
|