Created
June 6, 2017 08:53
-
-
Save bxcodec/270c3c95a2a33e7b6e4dc3bb6d46f540 to your computer and use it in GitHub Desktop.
Article Clean Arch
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
import "time" | |
type Article struct { | |
ID int64 `json:"id"` | |
Title string `json:"title"` | |
Content string `json:"content"` | |
UpdatedAt time.Time `json:"updated_at"` | |
CreatedAt time.Time `json:"created_at"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment