updated from model > models
This commit is contained in:
parent
bbcfeb8a8a
commit
53f02585b9
7
domain/models/api.go
Normal file
7
domain/models/api.go
Normal file
@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
type ApiError struct {
|
||||
StatusCode int `json:"status"`
|
||||
Message string `json:"message"`
|
||||
Payload interface{} `json:"payload"`
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package model
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
@ -1,4 +1,4 @@
|
||||
package model
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
@ -1,4 +1,4 @@
|
||||
package model
|
||||
package models
|
||||
|
||||
// This is the root Json object. It does not contain data that we care about though.
|
||||
type RedditJsonContent struct {
|
Loading…
Reference in New Issue
Block a user