github.com/miekg/dns upgraded with code change
It had breaking changes, detailed in the reweave CHANGELOG
This commit is contained in:
1 parent
df2240acbd
commit
2f49b8455a
134 files changed
+25371
-6100
No files matched your search
+4
-4
@@ -3,13 +3,13 @@ package dns
|
||||
import "fmt"
|
||||
|
||||
// Version is current version of this library.
|
||||
var Version = V{1, 0, 4}
|
||||
var Version = v{1, 1, 52}
|
||||
|
||||
// V holds the version of this library.
|
||||
type V struct {
|
||||
// v holds the version of this library.
|
||||
type v struct {
|
||||
Major, Minor, Patch int
|
||||
}
|
||||
|
||||
func (v V) String() string {
|
||||
func (v v) String() string {
|
||||
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
|
||||
}
|
||||
Reference in new issue
Block a user