test3

package
v0.107.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainStruct

type MainStruct struct {
	ExcludedString string    `yaml:"excluded-string" refreshables:",exclude"`
	IncludedString string    `yaml:"included-string" refreshables:"custom-name"`
	Sub            SubStruct `yaml:"sub"`
}

type RefreshableMainStruct

type RefreshableMainStruct interface {
	refreshable.Refreshable
	CurrentMainStruct() MainStruct
	MapMainStruct(func(MainStruct) interface{}) refreshable.Refreshable
	SubscribeToMainStruct(func(MainStruct)) (unsubscribe func())

	IncludedString() refreshable.String
	Sub() RefreshableSubStruct
}

type RefreshableSubStruct

type RefreshableSubStruct interface {
	refreshable.Refreshable
	CurrentSubStruct() SubStruct
	MapSubStruct(func(SubStruct) interface{}) refreshable.Refreshable
	SubscribeToSubStruct(func(SubStruct)) (unsubscribe func())

	IncludedInt() refreshable.Int
}

type RefreshingMainStruct

type RefreshingMainStruct struct {
	refreshable.Refreshable
}

func (RefreshingMainStruct) CurrentMainStruct

func (r RefreshingMainStruct) CurrentMainStruct() MainStruct

func (RefreshingMainStruct) IncludedString

func (r RefreshingMainStruct) IncludedString() refreshable.String

func (RefreshingMainStruct) MapMainStruct

func (r RefreshingMainStruct) MapMainStruct(mapFn func(MainStruct) interface{}) refreshable.Refreshable

func (RefreshingMainStruct) Sub

func (RefreshingMainStruct) SubscribeToMainStruct

func (r RefreshingMainStruct) SubscribeToMainStruct(consumer func(MainStruct)) (unsubscribe func())

type RefreshingSubStruct

type RefreshingSubStruct struct {
	refreshable.Refreshable
}

func (RefreshingSubStruct) CurrentSubStruct

func (r RefreshingSubStruct) CurrentSubStruct() SubStruct

func (RefreshingSubStruct) IncludedInt

func (r RefreshingSubStruct) IncludedInt() refreshable.Int

func (RefreshingSubStruct) MapSubStruct

func (r RefreshingSubStruct) MapSubStruct(mapFn func(SubStruct) interface{}) refreshable.Refreshable

func (RefreshingSubStruct) SubscribeToSubStruct

func (r RefreshingSubStruct) SubscribeToSubStruct(consumer func(SubStruct)) (unsubscribe func())

type SubStruct

type SubStruct struct {
	IncludedInt     int                            `yaml:"included-int"`
	ExcludedLibrary librarypkg.CustomLibraryStruct `yaml:"excluded-library" refreshables:",exclude"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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