-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c01d4f
commit 62a5fc0
Showing
4 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package entity | ||
|
||
import "time" | ||
|
||
type Setting struct { | ||
ID string `json:"id"` | ||
NotionToken string `json:"notion_token"` | ||
NotionPageID string `json:"notion_page_id"` | ||
MeuPluggyClientID string `json:"meu_pluggy_client_id"` | ||
MeuPluggyClientSecret string `json:"meu_pluggy_client_secret"` | ||
MeuPluggyAccountIDs []string `json:"meu_pluggy_account_ids"` | ||
UserID string `json:"user_id"` | ||
UpdatedAt time.Time `json:"updated_at"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package entity | ||
|
||
import ( | ||
"time" | ||
) | ||
|
||
type User struct { | ||
ID string `json:"id"` | ||
Email string `json:"email"` | ||
UpdatedAt time.Time `json:"updated_at"` | ||
Setting *Setting `json:"setting"` | ||
} |