使用方式:

  • gf -v
  • gf version

用以查看当前gf命令行工具编译时的版本信息。例如:

$ gf -v
GoFrame CLI Tool v0.7.5, https://goframe.org
Built Detail:
  Go Version:  go1.13.5
  GF Version:  v1.13.0
  Git Commit:  0ab2a4a9e753f4f5fae1e96ecf40cae94895d494
  Built Time:  2020-06-05 23:30:39
  • No labels

3 Comments

  1. ❯ gf -v
    GoFrame CLI Tool v1.15.0, https://goframe.org
    Install Path: /usr/local/bin/gf
    Build Detail:
      Go Version:  go1.15.5
      GF Version:  v1.15.1
      Git Commit:  0a6767d79858e5d3fdb03ad31db8a34a84761355
      Build Time:  2021-01-16 20:24:37

  2. gf -v

    GoFrame CLI Tool v1.15.4, https://goframe.org

    Install Path: /usr/local/bin/gf

    Build Detail:

      Go Version:  go1.15.5

      GF Version:  v1.15.3

      Git Commit:  cd7fd68dfd22f43d5b67b432dfd2e6c2fbafb012

      Build Time:  2021-03-17 22:01:09

  3.  gf -v
    GoFrame CLI Tool v1.16.3, https://goframe.org
    GoFrame Version: v1.15.3 in current go.mod
    CLI Installed At: D:\www_go\bin\gf.exe
    CLI Built Detail:
      Go Version:  go1.16.3
      GF Version:  v1.16.0
      Git Commit:  42d9811d5f8c8be349a1591c8b98c916cf8281aa
      Build Time:  2021-06-22 22:02:04