deep

package
v0.0.0-...-6ea5f18 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example1

type Example1 struct {
	markup.Component `initMethod:"Start"`

	F0 *coll.Properties
	F1 application.Context `inject:"context"`
	F2 lang.ReleasePool    `inject:"pool"`

	F3    string  `inject:"${test.str.s1}"`
	F4    string  `inject:"hello,world"`
	F5    int     `inject:"1000"`
	F6i8  int8    `inject:"${test.num.i64}"`
	F6i16 int16   `inject:"${test.num.i64}"`
	F6i32 int32   `inject:"${test.num.i64}"`
	F6i64 int64   `inject:"${test.num.i64}"`
	F7    bool    `inject:"false"`
	F8    float32 `inject:"${test.num.f32}"`
	F9    float64 `inject:"0.001"`

	F10 *strings.Builder   `inject:"*"`
	F11 []*strings.Builder `inject:"*"`
}

func (*Example1) Start

func (inst *Example1) Start() error

type Example2

type Example2 struct {
	markup.Controller `id:"Example2" class:"Example"`
	Context           application.Context `inject:"context"`
	Pool              lang.ReleasePool    `inject:"pool"`
}

type Example3

type Example3 struct {
	markup.Controller `class:"example demo element" scope:"singleton" aliases:"x y z" initMethod:"Start" destroyMethod:"Stop"`
}

func (*Example3) Start

func (inst *Example3) Start() error

func (*Example3) Stop

func (inst *Example3) Stop() error

Jump to

Keyboard shortcuts

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