convert

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commands

type Commands struct {
	Table TableCommand `cmd:""`
	Key   KeyCommand   `cmd:""`
}

type KeyCommand added in v0.2.0

type KeyCommand struct {
	From      string `name:"from" enum:"json,gql,encoded,proto,auto" default:"auto" help:"Source key format"`
	To        string `name:"to" enum:"json,gql,encoded,proto" default:"encoded" help:"Result key format"`
	Namespace string `short:"n" name:"namespace" help:"Override Cloud Datastore namespace" optional:""`
}

func (*KeyCommand) Run added in v0.2.0

type TableCommand

type TableCommand struct {
	From string `name:"from" short:"f" enum:"key,entity,explain" default:"entity" help:"Type of JSON structure to convert to table"`
}

func (*TableCommand) Run

Jump to

Keyboard shortcuts

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