forked from forgejo/forgejo
Update to github.com/lafriks/xormstore@v1.3.0 (#8317)
This commit is contained in:
parent
3a7e3dbfb4
commit
149758c912
31 changed files with 1682 additions and 1088 deletions
6
vendor/github.com/denisenkom/go-mssqldb/uniqueidentifier.go
generated
vendored
6
vendor/github.com/denisenkom/go-mssqldb/uniqueidentifier.go
generated
vendored
|
@ -72,3 +72,9 @@ func (u UniqueIdentifier) Value() (driver.Value, error) {
|
|||
func (u UniqueIdentifier) String() string {
|
||||
return fmt.Sprintf("%X-%X-%X-%X-%X", u[0:4], u[4:6], u[6:8], u[8:10], u[10:])
|
||||
}
|
||||
|
||||
// MarshalText converts Uniqueidentifier to bytes corresponding to the stringified hexadecimal representation of the Uniqueidentifier
|
||||
// e.g., "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA" -> [65 65 65 65 65 65 65 65 45 65 65 65 65 45 65 65 65 65 45 65 65 65 65 65 65 65 65 65 65 65 65]
|
||||
func (u UniqueIdentifier) MarshalText() []byte {
|
||||
return []byte(u.String())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue