IsRelease returns whether this binary was built as a release.
()
| 43 | |
| 44 | // IsRelease returns whether this binary was built as a release. |
| 45 | func IsRelease() bool { |
| 46 | return isReleaseBuild |
| 47 | } |
| 48 | |
| 49 | // IsReleasedVersion checks if a version string represents a released build. |
| 50 | // It relies on the isReleaseBuild flag set at build time via -X linker flag. |
no outgoing calls