Documentation
¶
Index ¶
- Variables
- func Get()
- type Inner
- type MultiParamAligned
- type MultiParamUnaligned
- type MyTest
- type MyTest2
- type MyTest3
- type MyTest4
- type MyTest5
- type Number
- type OuterAligned
- type OuterUnaligned
- type Problem1
- type Problem2
- type Problem3
- type S1
- type S2
- type STR
- type STRs
- type SimpleGenericAligned
- type SimpleGenericUnaligned
- type SliceContainerAligned
- type SliceContainerUnaligned
- type StructWithGenerics
- type StructWithMoreGenerics
- type TreeNodeAligned
- type TreeNodeUnaligned
Constants ¶
This section is empty.
Variables ¶
View Source
var Name = "dsds"
Functions ¶
Types ¶
type Inner ¶ added in v2.0.9
type Inner[T comparable] struct { Key T Value string }
type MultiParamAligned ¶ added in v2.0.9
type MultiParamUnaligned ¶ added in v2.0.9
type MyTest ¶
type MyTest struct { Problem1 struct { I interface{} S struct{} } App struct { // LogLevel LogLevel string `yaml:"log_level" env-default:"info"` // 2 text Name string `yaml:"name" env-default:"ms-sso"` IsProduction bool `yaml:"is_production" env:"IS_PRODUCTION" yaml-default:"true"` TimeToConfirmRegistration time.Duration `yaml:"tim_to_confirm_registration" env-required:"24h"` } `yaml:"app"` // contains filtered or unexported fields } /* some text dsdsd dsds */
Test comment
type OuterAligned ¶ added in v2.0.9
type OuterAligned[T any, U comparable] struct { Data T Nested Inner[U] Priority int }
type OuterUnaligned ¶ added in v2.0.9
type OuterUnaligned[T any, U comparable] struct { Data T Nested Inner[U] Priority int }
type S2 ¶ added in v2.0.7
type S2 struct {
F1, F2 bool
F3 string
F4 StructWithGenerics[int]
F5 StructWithMoreGenerics[int, float64, string]
}
type SimpleGenericAligned ¶ added in v2.0.9
Aligned Structures
type SimpleGenericUnaligned ¶ added in v2.0.9
Unaligned Structures
type SliceContainerAligned ¶ added in v2.0.9
type SliceContainerUnaligned ¶ added in v2.0.9
type StructWithGenerics ¶ added in v2.0.9
type StructWithGenerics[T any] struct { F T }
type StructWithMoreGenerics ¶ added in v2.0.9
type StructWithMoreGenerics[T1, T2 any, T3 comparable] struct { F1 T1 F2 T2 F3 T3 }
type TreeNodeAligned ¶ added in v2.0.9
type TreeNodeAligned[T any] struct { Value T Left *TreeNodeAligned[T] Right *TreeNodeAligned[T] Depth int IsLeaf bool }
type TreeNodeUnaligned ¶ added in v2.0.9
type TreeNodeUnaligned[T any] struct { Value T Left *TreeNodeUnaligned[T] Right *TreeNodeUnaligned[T] Depth int IsLeaf bool }
Click to show internal directories.
Click to hide internal directories.