mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
refactor: replace interface{}
with any
This commit is contained in:
parent
045f2f1747
commit
80f48c88c7
12 changed files with 26 additions and 26 deletions
|
@ -23,7 +23,7 @@ func (s WebAuthnSession) Value() (driver.Value, error) {
|
|||
return json.Marshal(s)
|
||||
}
|
||||
|
||||
func (s *WebAuthnSession) Scan(value interface{}) error {
|
||||
func (s *WebAuthnSession) Scan(value any) error {
|
||||
b, ok := value.([]byte)
|
||||
if !ok {
|
||||
return errors.New("type assertion to []byte failed")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue