-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata_structs.go
More file actions
35 lines (30 loc) · 768 Bytes
/
Copy pathdata_structs.go
File metadata and controls
35 lines (30 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package main
import (
"time"
)
type store struct {
ID int64 `dbq:"id"`
Product string `dbq:"product"`
Price float64 `dbq:"price"`
Quantity int64 `dbq:"quantity"`
Available *bool `dbq:"available"`
Timing *time.Time `dbq:"timing"`
}
type store2 struct {
ID int64 `dbq:"id"`
Product string `dbq:"product"`
Price float64 `dbq:"price"`
Quantity int64 `dbq:"quantity"`
Available *bool `dbq:"available"`
Timing *string `dbq:"timing"`
}
type bnchmark struct {
ID int64 `dbq:"id"`
Name string `dbq:"name"`
Timestamp *time.Time `dbq:"timestamp"`
}
type bnchmark2 struct {
ID int64 `dbq:"id"`
Name string `dbq:"name"`
Timestamp *string `dbq:"timestamp"`
}