package
0.0.1
Repository: https://github.com/puper/bbgo.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CallMatch calls the function with the matched argument automatically you can define multiple parameter factory function to inject the return value as the function argument.
CallStructFieldsMethod iterates field from the given struct object check if the field object implements the interface, if it's implemented, then we call a specific method.
For backward compatibility of reflect.Value.CanInt in go1.17.
No description provided by the author
Modified from golang 1.19.1 reflect to eliminate all possible panic.
No description provided by the author
Used by bbgo/interact_modify.go.
No description provided by the author
InheritStructValues merges the field value from the source struct to the dest struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://github.com/xiaojun207/go-base-utils/blob/master/utils/Clone.go.
@param s: strategy object @param f: io.Writer used for writing the strategy dump @param seriesLength: if exist, the first value will be chosen to be the length of data from series to be printed out default to 1 when not exist or the value is invalid.
ParseStructAndInject parses the struct fields and injects the objects into the corresponding fields by its type.
@param s: strategy object @param f: io.Writer used for writing the config dump @param style: pretty print table style.
ToReflectValues convert the go objects into reflect.Value slice.

# Variables

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author