MCPcopy
hub / github.com/rubenv/sql-migrate / GetVersion

Function GetVersion

sql-migrate/config.go:114–119  ·  view source on GitHub ↗

GetVersion returns the version.

()

Source from the content-addressed store, hash-verified

112
113// GetVersion returns the version.
114func GetVersion() string {
115 if buildInfo, ok := debug.ReadBuildInfo(); ok && buildInfo.Main.Version != "(devel)" {
116 return buildInfo.Main.Version
117 }
118 return "dev"
119}

Callers 1

realMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…