1
0
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:
Ferdinand Mütsch
2019-10-11 09:06:34 +02:00
parent 37b02ff32c
commit fb2f9fa10a
8 changed files with 43 additions and 35 deletions

View File

@ -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
}