update golang 1.22 dependencies

This commit is contained in:
Benjamin Bärthlein
2024-05-20 02:36:00 +02:00
parent 5d87fb370b
commit f7f84557f6
11 changed files with 70 additions and 108 deletions
+2 -2
View File
@@ -1,14 +1,14 @@
package model
import (
"github.com/jinzhu/gorm"
"gorm.io/gorm"
)
// CName is a dns cname entry.
type CName struct {
gorm.Model
Hostname string `gorm:"not null" form:"hostname" validate:"required,hostname"`
Target Host `validate:"required,hostname"`
Target Host `validate:"required"`
TargetID uint
Ttl int `form:"ttl" validate:"required,min=20,max=86400"`
}
+1 -1
View File
@@ -3,7 +3,7 @@ package model
import (
"time"
"github.com/jinzhu/gorm"
"gorm.io/gorm"
)
// Host is a dns host entry.
+1 -1
View File
@@ -3,7 +3,7 @@ package model
import (
"time"
"github.com/jinzhu/gorm"
"gorm.io/gorm"
)
// Log defines a log entry.