From 478f42f8a9f070cef9e8c0b81dc7bd4c24bacde8 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 15 Nov 2024 23:48:35 +0100 Subject: chore(tfstated): use a struct{} as context.Context key --- pkg/model/account.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/model') diff --git a/pkg/model/account.go b/pkg/model/account.go index cbb6407..86032b8 100644 --- a/pkg/model/account.go +++ b/pkg/model/account.go @@ -2,6 +2,8 @@ package model import "time" +type AccountContextKey struct{} + type Account struct { Id int Username string -- cgit v1.2.3