snippets

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dinosaur

type Dinosaur struct {
	Height int `json:"height"`
	Width  int `json:"width"`
}

Dinosaur is a json-serializable type.

type Post

type Post struct {
	Author string `json:"author,omitempty"`
	Title  string `json:"title,omitempty"`
}

Post is a json-serializable type.

type User

type User struct {
	DateOfBirth string `json:"date_of_birth,omitempty"`
	FullName    string `json:"full_name,omitempty"`
	Nickname    string `json:"nickname,omitempty"`
}

User is a json-serializable type.

Jump to

Keyboard shortcuts

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