Documentation ¶
Index ¶
- Constants
- func CaseInsensitiveContains(s, substr string) bool
- func CloneTemplate() error
- func GenerateRESTMicroService(serviceName string, logger *zap.Logger) error
- func LogAndReturnCmdErrorIfExist(res error) error
- func RemoveAllReferencesFromFile(path string, search string, to string)
- func RemoveGitRepo(serviceName string) error
- func UpdateMakefile(serviceName string) error
- func WalkAndUpdate(serviceName string)
Constants ¶
View Source
const EMPTY string = ""
Variables ¶
This section is empty.
Functions ¶
func CaseInsensitiveContains ¶
CaseInsensitiveContains checks if a string witholds a substring irrespective of case
func GenerateRESTMicroService ¶
GenerateRESTMicroService creates a microservice with a REST API
func LogAndReturnCmdErrorIfExist ¶
LogAndReturnCmdErrorIfExist logs and returns an error if it exists
func RemoveAllReferencesFromFile ¶
RemoveAllReferencesFromFile removes all references of a search string in a file located at a specific location
func RemoveGitRepo ¶
RemoveGitRepo removes the .git repository
func UpdateMakefile ¶
UpdateMakefile updates the sevices makefile
func WalkAndUpdate ¶
func WalkAndUpdate(serviceName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.