update

package
v0.0.0-...-55abd51 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateContent

func UpdateContent(c *cli.Context) error

Types

type Attributes

type Attributes struct {
	UpdatedBy int64  `json:"updated_by"`
	Content   string `json:"content"`
}

type Content

type Content struct {
	Data Data `json:"data"`
}

type Data

type Data struct {
	Type       string     `json:"type"`
	ID         int64      `json:"id"`
	Attributes Attributes `json:"attributes"`
}

Jump to

Keyboard shortcuts

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