@@ -95,7 +95,7 @@ func (gid GID) Timestamp() time.Time {
|
||||
}
|
||||
|
||||
// Scan implements the database/sql/driver.Scanner interface
|
||||
func (gid *GID) Scan(value interface{}) error {
|
||||
func (gid *GID) Scan(value any) error {
|
||||
var str string
|
||||
switch v := value.(type) {
|
||||
case string:
|
||||
|
||||
@@ -103,7 +103,7 @@ func (id TenantID) Value() (driver.Value, error) {
|
||||
}
|
||||
|
||||
// Scan implements the database/sql.Scanner interface
|
||||
func (id *TenantID) Scan(value interface{}) error {
|
||||
func (id *TenantID) Scan(value any) error {
|
||||
switch v := value.(type) {
|
||||
case string:
|
||||
decoded, err := base64.RawURLEncoding.DecodeString(v)
|
||||
|
||||
Reference in New Issue
Block a user