Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Invoke0 ¶
func Invoke0(funcToBeRan func() error, opts ...InvokeOptions) error
func RandomHashString ¶
RandomHashString 生成随机 SHA128 字符串,最大长度为 128
Types ¶
type InvokeOptions ¶
type InvokeOptions struct {
// contains filtered or unexported fields
}
func WithContext ¶
func WithContext(ctx context.Context) InvokeOptions
func (InvokeOptions) GetContext ¶
func (o InvokeOptions) GetContext() context.Context
Click to show internal directories.
Click to hide internal directories.