package
0.0.0-20190923072852-f651441f33d7
Repository: https://github.com/amadeusitgroup/redis-operator.git
Documentation: pkg.go.dev

# Functions

BuildInfos returns builds information.
NewLogWriter create a new LogWriter with the pointer of the logging function in input.
SliceJoin concatenates the elements of a to create a single string.

# Variables

BUILDTIME should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/redis-operator/pkg/utils.BUILDTIME=${DATE}with for example DATE=$(shell date +%Y-%m-%d/%H:%M:%S ) (pay attention not to use space!).
COMMIT should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/redis-operator/pkg/utils.COMMIT=${COMMIT}with for example COMMIT=$(shell git rev-parse HEAD).
TAG should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/redis-operator/pkg/utils.TAG=${TAG}with for example TAG=$(shell git tag|tail -1).
VERSION should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/redis-operator/pkg/utils.VERSION=${VERSION}with for example VERSION=$(shell git rev-parse --abbrev-ref HEAD).

# Structs

LogWriter struct representation of a log writter, containing the pointer of the logging function.

# Interfaces

Stringer implement the string interface.