mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
lint fix.
This commit is contained in:
parent
a6afccd079
commit
fc6997d2ac
@ -14,7 +14,7 @@ import (
|
||||
type key int
|
||||
|
||||
const (
|
||||
keyMemberCtx key = iota
|
||||
keyMemberCtx key = iota
|
||||
)
|
||||
|
||||
type MembersHandler struct {
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
type key int
|
||||
|
||||
const (
|
||||
keySessionCtx key = iota
|
||||
keySessionCtx key = iota
|
||||
)
|
||||
|
||||
func SetSession(r *http.Request, session types.Session) *http.Request {
|
||||
|
@ -1,8 +1,8 @@
|
||||
package file
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"fmt"
|
||||
"sync"
|
||||
@ -101,7 +101,7 @@ func (manager *MembersDatabaseCtx) deserialize() (map[string]types.MemberProfile
|
||||
return nil, err
|
||||
}
|
||||
|
||||
raw, err := ioutil.ReadAll(file)
|
||||
raw, err := ioutil.ReadAll(file)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user