gopkg.in/docker/libcompose.v0@v0.4.0/version/version.go (about)

     1  package version
     2  
     3  var (
     4  	// VERSION should be updated by hand at each release
     5  	VERSION = "0.4.0"
     6  
     7  	// GITCOMMIT will be overwritten automatically by the build system
     8  	GITCOMMIT = "HEAD"
     9  
    10  	// BUILDTIME will be overwritten automatically by the build system
    11  	BUILDTIME = ""
    12  
    13  	// SHOWWARNING might be overwritten by the build system to not show the warning
    14  	SHOWWARNING = "true"
    15  )
    16  
    17  // ShowWarning returns wether the warning should be printed or not
    18  func ShowWarning() bool {
    19  	return SHOWWARNING != "false"
    20  }