package
Version:
v0.0.0-...-086ba71
Opens a new window with list of versions in this module.
Published: Jul 24, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Author struct {
ID string `json:"id"`
Name string `json:"name"`
}
Author defines model for author
type Error struct {
Message string `json:"message"`
}
Error defines resposne for errors
type Link struct {
ID int64 `json:"id"`
URL string `json:"url"`
}
Link defines urls to external resources
type Page struct {
ID int64 `json:"id"`
Title string `json:"title"`
Body string `json:"body"`
AuthorID int64 `json:"author_id"`
Links []string `json:"links"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Response defines data for response
Source Files
¶
Click to show internal directories.
Click to hide internal directories.