package
1.0.0
Repository: https://github.com/victoravelar/devto-api-go.git
Documentation: pkg.go.dev

# Functions

NewClient takes a context, a configuration pointer and optionally a base http client (bc) to build an Client instance.
NewConfig build a devto configuration instance with the required parameters.

# Constants

Configuration constants.
Configuration constants.
Configuration constants.

# Variables

devto client errors.
Configuration errors.
devto client errors.

# Structs

Article
Article contains all the information related to a single information resource from devto.
ArticleListOptions holds the query values to pass as query string parameter to the Articles List action.
ArticlesResource implements the APIResource interface for devto articles.
ArticleUpdate represents an update to an article; it is used as the payload in POST and PUT requests for writing articles.
Client is the main data structure for performing actions against dev.to API.
Config contains the elements required to initialize a devto client.
ErrorResponse is an error returned from a dev.to API endpoint.
FlareTag represents an article's flare tag, if the article has one.
ListedArticle represents an article returned from one of the list articles endpoints (/articles, /articles/me/*).
MyArticlesOptions defines pagination options used as query params in the dev.to "list my articles" endpoints.
Organization describes a company or group that publishes content to devto.
User contains information about a devto account.
WebURL is a class embed to override default unmarshal behavior.

# Type aliases

Tags are a group of topics related to an article.