Documentation
¶
Index ¶
- func ArchRelatedValue[T any](x64 T, x86 T, arm64 T, arm T, others T) T
- func Comment(_ any)
- func Default[T any]() (t T)
- func If(b bool, f func())
- func IfThenElse[T any](ifCon bool, thenCase T, elseCase T) T
- func OsRelatedValue[T any](windows T, linux T, darwin T, others T) T
- func TryCatch(try func(), catch func(any)) (ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchRelatedValue ¶
func ArchRelatedValue[T any](x64 T, x86 T, arm64 T, arm T, others T) T
func IfThenElse ¶
func OsRelatedValue ¶
func OsRelatedValue[T any](windows T, linux T, darwin T, others T) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.