|
@@ -7,8 +7,17 @@ import (
|
|
|
"git.p78su.freemyip.com/svi/gostore/internal/service"
|
|
|
)
|
|
|
|
|
|
+var (
|
|
|
+ // Version -- версия тега хранилища
|
|
|
+ Version = ""
|
|
|
+ // Date -- дата релиза
|
|
|
+ Date = ""
|
|
|
+ // GoVersion -- версия компилятора
|
|
|
+ GoVersion = ""
|
|
|
+)
|
|
|
+
|
|
|
func main() {
|
|
|
- log.Printf("main()\n")
|
|
|
+ log.Printf("gostore/main():\n\tgo\t= %v\n\tvers\t= %v\n\tdate\t= %v\n", GoVersion, Version, Date)
|
|
|
serv, err := service.NewService()
|
|
|
if err != nil {
|
|
|
log.Printf("main(): in create IService, err=\n\t%v\n", err)
|