resources

package
v0.0.0-...-c40aac1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdResponse

type IdResponse struct {
	Data Key `json:"data"`
}

func NewIdResponse

func NewIdResponse(key Key) IdResponse

type Key

type Key struct {
	ID   string       `json:"id"`
	Type ResourceType `json:"type"`
}

type Note

type Note struct {
	Data struct {
		Attributes struct {
			Content   string `json:"content"`
			CreatedAt string `json:"created_at"`
		} `json:"attributes"`
	} `json:"data"`
}

type NoteIDResponse

type NoteIDResponse struct {
	Data struct {
		ID   string `json:"id"`
		Type string `json:"type"`
	} `json:"data"`
}

type ResourceType

type ResourceType string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL