package
0.3.0
Repository: https://github.com/brenol/huskyci.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetAllLinesButLast receives a string with multiple lines and returns all but the last line.
GetLastLine receives a string with multiple lines and returns it's last.
HandleCmd will extract %GIT_REPO% and %GIT_BRANCH% from cmd and replace it with the proper repository URL.
HandlePrivateSSHKey will extract %GIT_PRIVATE_SSH_KEY% from cmd and replace it with the proper private SSH key.
RemoveDuplicates remove duplicated itens from a slice.
RequestResponse returns a map string interface to be used in echo JSON requests response.
SanitizeSafetyJSON returns a sanitized string from Safety container logs.

# Constants

CertFile contains the address for the API's TLS certificate.
KeyFile contains the address for the API's TLS certificate key file.