internal

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultCallOption = &callOptions{}
View Source
var WithIntField = func(intField int) CallOption {
	return func(c *callOptions) {
		c.intField = intField
	}
}
View Source
var WithInterfaceField = func(interfaceField interface{}) CallOption {
	return func(c *callOptions) {
		c.interfaceField = interfaceField
	}
}
View Source
var WithNumber = func(number json.Number) CallOption {
	return func(c *callOptions) {
		c.number = number
	}
}
View Source
var WithStringField = func(stringField string) CallOption {
	return func(c *callOptions) {
		c.stringField = stringField
	}
}
View Source
var WithWriter = func(writer io.Writer) CallOption {
	return func(c *callOptions) {
		c.writer = writer
	}
}

Functions

This section is empty.

Types

type CallOption

type CallOption func(*callOptions)

type SomeType

type SomeType struct{}

Jump to

Keyboard shortcuts

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