chore(tfstated): use a struct{} as context.Context key
This commit is contained in:
parent
3d8812fbd0
commit
478f42f8a9
3 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,8 @@ package model
|
|||
|
||||
import "time"
|
||||
|
||||
type AccountContextKey struct{}
|
||||
|
||||
type Account struct {
|
||||
Id int
|
||||
Username string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue