externals

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by parsley for scanning JSON strings. DO NOT EDIT.

Index

Constants

View Source
const (
	DeviceTypeDesktop = iota
	DeviceTypeMobile
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name string     `json:"name"`
	Type DeviceType `json:"type"`
}

func (*Device) DecodeObjectPJSON

func (o *Device) DecodeObjectPJSON(r *reader.Reader, filter []parse.Filter) (err error)

func (*Device) DecodeSlicePJSON

func (o *Device) DecodeSlicePJSON(r *reader.Reader, filter []parse.Filter) (res []Device, err error)

type DeviceType

type DeviceType int

func (*DeviceType) DecodeObjectPJSON

func (o *DeviceType) DecodeObjectPJSON(r *reader.Reader, filter []parse.Filter) (err error)

func (*DeviceType) DecodeSlicePJSON

func (o *DeviceType) DecodeSlicePJSON(r *reader.Reader, filter []parse.Filter) (res []DeviceType, err error)

Jump to

Keyboard shortcuts

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