package
0.0.0-20210831184025-b9b94946e0ab
Repository: https://github.com/ozoncp/ocp-request-api.git
Documentation: pkg.go.dev
# Functions
RemoveElementsInt Return a new slice with elements in the `items` that are not in the `remove` slice.
ReverseMapIntToInt Converts mapping to a reversed mapping (a map where key becomes a value and vice-versa).
SliceToMap Converts a given slice of Requests to a map where key is Request.Id and values are corresponding requests.
SplitToBulks Converts a given slice of Requests to a slice of slices of Requests of a given size.
SplitToBulksInt Converts a given slice of ints to a slice of slices of ints of a given size.
WatchFile Does nothing, but constantly opens and closes file at the given path.
# Structs
NonUniqueIdError error object returned if SliceToMap() receives slice of Requests with non-unique Id fields.