Documentation ¶
Index ¶
- Constants
- func CreateInitialFile(path string) (*os.File, error)
- func GetAbsolutePath() string
- func GetTemplatesPath() string
- func GetVersionFromTomlFile(tomlFile *toml.Tree) string
- func LoadTomlFile(path string) *toml.Tree
- func OpenFile(path string) *os.File
- func WriteFile(path, content string) error
Constants ¶
View Source
const ( DockerKey = "docker" DockerBuildDirectoryKey = "buildDirectory" DockerComposeKey = "dockerCompose" DockerOrganizationKey = "organization" DockerImageNameKey = "imageName" DockerTagPrefixKey = "tagPrefix" ModuleKey = "module" ModuleVersionKey = "version" )
Variables ¶
This section is empty.
Functions ¶
func GetAbsolutePath ¶
func GetAbsolutePath() string
func GetTemplatesPath ¶ added in v0.2.1
func GetTemplatesPath() string
func GetVersionFromTomlFile ¶
func GetVersionFromTomlFile(tomlFile *toml.Tree) string
func LoadTomlFile ¶
func LoadTomlFile(path string) *toml.Tree
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.