json2go

package module
v0.0.0-...-bec8605 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 17 Imported by: 0

README

json2go

image

Documentation

Overview

Package json2go ... @Time : 2020/4/28 13:43 @Software: GoLand @File : component @Author : Bingo <airplayx@gmail.com>

Package json2go ... @Time : 2020/4/28 11:01 @Software: GoLand @File : json @Author : Bingo <airplayx@gmail.com>

Package json2go ... @Time : 2020/4/28 12:50 @Software: GoLand @File : sort @Author : Bingo <airplayx@gmail.com>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) ([]byte, string, error)

Get ...

Types

type ByIDFirst

type ByIDFirst []string

ByIDFirst ...

func (ByIDFirst) Len

func (p ByIDFirst) Len() int

func (ByIDFirst) Less

func (p ByIDFirst) Less(i, j int) bool

func (ByIDFirst) Swap

func (p ByIDFirst) Swap(i, j int)

type Model

type Model struct {
	Writer      io.Writer
	Name        string
	Data        interface{}
	WithExample bool
	Format      bool
	Convert     bool
}

Model ...

func New

func New(byte []byte, name string) (m *Model, err error)

New ...

func (*Model) WriteGo

func (m *Model) WriteGo() (b []byte, err error)

WriteGo ...

Jump to

Keyboard shortcuts

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