Back to

Package snippets

Latest Go to latest

The latest major version is v4.

Published: Jun 16, 2020 | License: Apache-2.0 | Module:


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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier