updated from model > models

This commit is contained in:
James Tombleson 2022-12-10 11:12:53 -08:00
parent bbcfeb8a8a
commit 53f02585b9
4 changed files with 10 additions and 3 deletions

7
domain/models/api.go Normal file
View File

@ -0,0 +1,7 @@
package models
type ApiError struct {
StatusCode int `json:"status"`
Message string `json:"message"`
Payload interface{} `json:"payload"`
}

View File

@ -1,4 +1,4 @@
package model
package models
import (
"time"

View File

@ -1,4 +1,4 @@
package model
package models
import (
"time"

View File

@ -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 {