加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 495 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hylke Visser 提交于 2017-01-06 11:18 . Update file headers for 2017
// Copyright © 2017 The Things Network
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
package main
import (
"github.com/TheThingsNetwork/ttn/cmd"
"github.com/spf13/viper"
)
var (
version = "2.x.x"
gitBranch = "unknown"
gitCommit = "unknown"
buildDate = "unknown"
)
func main() {
viper.Set("version", version)
viper.Set("gitBranch", gitBranch)
viper.Set("gitCommit", gitCommit)
viper.Set("buildDate", buildDate)
cmd.Execute()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化