tmp

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoAThing

func DoAThing()

DoAThing a function for testing

Types

type Activity

type Activity struct {
	ID       string    `json:"id"`
	Type     string    `json:"type"`
	Summary  string    `json:"summary"`
	Detail   *string   `json:"detail,omitempty"`
	Context  string    `json:"context"`
	TargetID *string   `json:"targetID,omitempty"`
	Time     time.Time `json:"time"`
	Key      TestKey   `json:"key"`
}

Activity used for testing

type ActivityResults

type ActivityResults struct {
	Results []*Activity `json:"results,omitempty"`
}

ActivityResults used for testing

type DoType

type DoType struct {
	Do       bool
	What     string
	Location Location

	EmbedMe
}

DoType a struct for testing

type EmbedMe

type EmbedMe struct {
	Field1 time.Time
	Field2 string
	Field3 float32
}

EmbedMe a struct for testing embedded functionality

type Location

type Location struct {
	Lat float32
	Lon float32
}

type LocationSource

type LocationSource struct {
	Lat float64
	Lon float64
}

LocationSource used for testing

type TestKey

type TestKey string

TestKey used for testing

type TestSource

type TestSource struct {
	ID       string
	Name     string
	Age      *int
	Location LocationSource
}

TestSource used for testing

Jump to

Keyboard shortcuts

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