mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
8c0f6142a8
This makes sure that we don't become vulnerable to CVE-2018-17419 or CVE-2019-19794 in the future. Signed-off-by: Sam Whited <sam@samwhited.com>
15 lines
275 B
Go
15 lines
275 B
Go
package dns
|
|
|
|
import "fmt"
|
|
|
|
// Version is current version of this library.
|
|
var Version = V{1, 1, 27}
|
|
|
|
// V holds the version of this library.
|
|
type V struct {
|
|
Major, Minor, Patch int
|
|
}
|
|
|
|
func (v V) String() string {
|
|
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
|
|
}
|