Skip to content

Commit c98ae83

Browse files
committed
Permission.CreatedAt (int64 -> time.Time)
1 parent 96ee0ce commit c98ae83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package access
22

3+
import "time"
4+
35
type PermissionKey int
46

57
const (
@@ -10,5 +12,5 @@ type Permission struct {
1012
Key PermissionKey
1113
UserID string
1214
Metadata string
13-
CreatedAt int64
15+
CreatedAt time.Time
1416
}

0 commit comments

Comments
 (0)