Now accounts can be added

This commit is contained in:
2021-01-02 12:09:16 +01:00
parent 96ab03a5fb
commit bb7e525adc
5 changed files with 184 additions and 5 deletions

View File

@@ -5,8 +5,8 @@ import (
"github.com/jackc/pgx/v4/pgxpool"
)
// Account is an account in the system
type Account struct {
// CreatedAccount is a newly created account in the system
type CreatedAccount struct {
ID uuid.UUID `json:"id"`
AccountName string `json:"accountName"`
APIKey string `json:"apiKey"`