feat: public API, SEO and existing surfaces
This commit is contained in:
1 parent
45fbbc33b1
commit
c390fcfe8d
103 files changed
+4476
-231
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package article
|
||||
|
||||
import "errors"
|
||||
|
||||
var ErrLanguageNotAvailable = errors.New("no published version in that language")
|
||||
|
||||
type Alternate struct {
|
||||
ID uint32 `json:"id"`
|
||||
Lang string `json:"lang"`
|
||||
StoryID uint32 `json:"story_id"`
|
||||
Slug string `json:"slug"`
|
||||
URL *string `json:"url"`
|
||||
}
|
||||
Reference in new issue
Block a user