diff --git a/main.go b/main.go index 7e47e7c..7041b63 100644 --- a/main.go +++ b/main.go @@ -37,6 +37,8 @@ import ( "github.com/IrineSistiana/simple-tls/core" ) +var version = "unknown/dev" + func main() { log.Printf("main: simple-tls %s", version) go func() { diff --git a/version.go b/version.go deleted file mode 100644 index fc8b1f8..0000000 --- a/version.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2020, IrineSistiana -// -// This file is part of simple-tls. -// -// simple-tls is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// simple-tls is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -package main - -var version = "v0.4.0"