Last active
January 18, 2021 16:31
-
-
Save marioarizaj/d7031fba00f67d89a1a198ca8508d233 to your computer and use it in GitHub Desktop.
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
package models | |
import "time" | |
type Article struct { | |
ID int `json:"id"` | |
Name string `json:"name"` | |
AuthorID int `json:"author_id"` | |
CreatedAt time.Time `json:"created_at"` | |
UpdatedAt time.Time `json:"updated_at"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment