Skip to content

Commit

Permalink
fix(backend) add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoha000 committed Jul 9, 2021
1 parent 41d940c commit 7129fd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1590,6 +1590,7 @@ func getGraphDataList(tx *sqlx.Tx, jiaIsuUUID string, date time.Time) ([]Graph,
graphDatas = append(graphDatas, Graph{JIAIsuUUID: jiaIsuUUID, StartAt: startTime, Data: string(data)})
}

// 24時間分のグラフデータだけを取り出す処理
endDate := date.Add(time.Hour * 24)
startIndex := 0
endNextIndex := len(graphDatas)
Expand Down

0 comments on commit 7129fd5

Please sign in to comment.