mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 10:27:56 +00:00
fix golint warnings
This commit is contained in:
@@ -16,7 +16,7 @@ type sessionEvent struct {
|
||||
}
|
||||
|
||||
func (dbobj dbcon) createSessionRecord(userTOKEN string, expiration string, data []byte) (string, error) {
|
||||
var endtime int32 = 0
|
||||
var endtime int32
|
||||
var err error
|
||||
if len(expiration) > 0 {
|
||||
endtime, err = parseExpiration(expiration)
|
||||
|
||||
Reference in New Issue
Block a user