• 2024-11-23golang: 给二进制文件增加版本信息
    一,代码:packagemainimport( "embed" "flag" "github.com/gofiber/template/html/v2" "net/http" "fmt" "runtime" "industry/config" "industry/routes")//构建版本信息var( V