github.com/konsorten/ktn-build-info@v1.0.11/ver/konsorten.go (about)

     1  package ver
     2  
     3  import (
     4  	log "github.com/sirupsen/logrus"
     5  )
     6  
     7  func TryReadFromKonsortenDefaults() (*VersionInformation, error) {
     8  	vi := MakeVersionInformation()
     9  
    10  	vi.Author = "marvin + konsorten GmbH"
    11  	vi.Email = "open-source@konsorten.de"
    12  	vi.Website = "http://www.konsorten.de"
    13  	vi.License = "commercial"
    14  
    15  	log.Debugf("Found author information from defaults: %v", vi.Author)
    16  	log.Debugf("Found license information from defaults: %v", vi.License)
    17  
    18  	return vi, nil
    19  }