MCPcopy
hub / github.com/IBM/sarama / newKafkaVersion

Function newKafkaVersion

utils.go:123–127  ·  view source on GitHub ↗
(major, minor, veryMinor, patch uint)

Source from the content-addressed store, hash-verified

121}
122
123func newKafkaVersion(major, minor, veryMinor, patch uint) KafkaVersion {
124 return KafkaVersion{
125 version: [4]uint{major, minor, veryMinor, patch},
126 }
127}
128
129// IsAtLeast return true if and only if the version it is called on is
130// greater than or equal to the version passed in:

Callers 3

utils.goFile · 0.85
ParseKafkaVersionFunction · 0.85

Calls

no outgoing calls

Tested by 1