mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
Ability to schedule summary creation.
This commit is contained in:
@ -3,7 +3,6 @@ package models
|
||||
import (
|
||||
"database/sql/driver"
|
||||
"errors"
|
||||
"fmt"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
@ -70,7 +69,7 @@ func (j *HeartbeatReqTime) Scan(value interface{}) error {
|
||||
*j = HeartbeatReqTime(value.(time.Time))
|
||||
break
|
||||
default:
|
||||
return errors.New(fmt.Sprintf("Unsupported type"))
|
||||
return errors.New("Unsupported type")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user