conv

package
v0.27.5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 14 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64

func Base64(v strfmt.Base64) *strfmt.Base64

Base64 returns a pointer to the strfmt.Base64 value passed in.

func Base64Value

func Base64Value(v *strfmt.Base64) strfmt.Base64

Base64Value returns the value of the strfmt.Base64 pointer passed in or the default value if the pointer is nil.

func CIDR added in v0.19.0

func CIDR(v strfmt.CIDR) *strfmt.CIDR

CIDR returns a pointer to the strfmt.CIDR value passed in.

func CIDRValue added in v0.19.0

func CIDRValue(v *strfmt.CIDR) strfmt.CIDR

CIDRValue returns the value of the strfmt.CIDR pointer passed in or the default value if the pointer is nil.

func Country added in v0.27.0

func Country(v strfmt.Country) *strfmt.Country

Country returns a pointer to the strfmt.Country value passed in.

func CountryValue added in v0.27.0

func CountryValue(v *strfmt.Country) strfmt.Country

CountryValue returns the value of the strfmt.Country pointer passed in or the default value if the pointer is nil.

func CreditCard

func CreditCard(v strfmt.CreditCard) *strfmt.CreditCard

CreditCard returns a pointer to the strfmt.CreditCard value passed in.

func CreditCardValue

func CreditCardValue(v *strfmt.CreditCard) strfmt.CreditCard

CreditCardValue returns the value of the strfmt.CreditCard pointer passed in or the default value if the pointer is nil.

func Currency added in v0.27.0

func Currency(v strfmt.Currency) *strfmt.Currency

Currency returns a pointer to the strfmt.Currency value passed in.

func CurrencyValue added in v0.27.0

func CurrencyValue(v *strfmt.Currency) strfmt.Currency

CurrencyValue returns the value of the strfmt.Currency pointer passed in or the default value if the pointer is nil.

func Date

func Date(v strfmt.Date) *strfmt.Date

Date returns a pointer to of the strfmt.Date value passed in.

func DateTime

func DateTime(v strfmt.DateTime) *strfmt.DateTime

DateTime returns a pointer to of the strfmt.DateTime value passed in.

func DateTimeValue

func DateTimeValue(v *strfmt.DateTime) strfmt.DateTime

DateTimeValue returns the value of the strfmt.DateTime pointer passed in or the default value if the pointer is nil.

func DateValue

func DateValue(v *strfmt.Date) strfmt.Date

DateValue returns the value of the strfmt.Date pointer passed in or the default value if the pointer is nil.

func Duration

func Duration(v strfmt.Duration) *strfmt.Duration

Duration returns a pointer to of the strfmt.Duration value passed in.

func DurationISO8601 added in v0.27.0

func DurationISO8601(v strfmt.DurationISO8601) *strfmt.DurationISO8601

DurationISO8601 returns a pointer to of the strfmt.DurationISO8601 value passed in.

func DurationISO8601Value added in v0.27.0

func DurationISO8601Value(v *strfmt.DurationISO8601) strfmt.DurationISO8601

DurationISO8601Value returns the value of the strfmt.DurationISO8601 pointer passed in or the default value if the pointer is nil.

func DurationValue

func DurationValue(v *strfmt.Duration) strfmt.Duration

DurationValue returns the value of the strfmt.Duration pointer passed in or the default value if the pointer is nil.

func Email

func Email(v strfmt.Email) *strfmt.Email

Email returns a pointer to the strfmt.Email value passed in.

func EmailValue

func EmailValue(v *strfmt.Email) strfmt.Email

EmailValue returns the value of the strfmt.Email pointer passed in or the default value if the pointer is nil.

func HexColor

func HexColor(v strfmt.HexColor) *strfmt.HexColor

HexColor returns a pointer to the strfmt.HexColor value passed in.

func HexColorValue

func HexColorValue(v *strfmt.HexColor) strfmt.HexColor

HexColorValue returns the value of the strfmt.HexColor pointer passed in or the default value if the pointer is nil.

func Hostname

func Hostname(v strfmt.Hostname) *strfmt.Hostname

Hostname returns a pointer to the strfmt.Hostname value passed in.

func HostnameValue

func HostnameValue(v *strfmt.Hostname) strfmt.Hostname

HostnameValue returns the value of the strfmt.Hostname pointer passed in or the default value if the pointer is nil.

func IPv4

func IPv4(v strfmt.IPv4) *strfmt.IPv4

IPv4 returns a pointer to the strfmt.IPv4 value passed in.

func IPv4Value

func IPv4Value(v *strfmt.IPv4) strfmt.IPv4

IPv4Value returns the value of the strfmt.IPv4 pointer passed in or the default value if the pointer is nil.

func IPv6

func IPv6(v strfmt.IPv6) *strfmt.IPv6

IPv6 returns a pointer to the strfmt.IPv6 value passed in.

func IPv6Value

func IPv6Value(v *strfmt.IPv6) strfmt.IPv6

IPv6Value returns the value of the strfmt.IPv6 pointer passed in or the default value if the pointer is nil.

func ISBN

func ISBN(v strfmt.ISBN) *strfmt.ISBN

ISBN returns a pointer to the strfmt.ISBN value passed in.

func ISBN10

func ISBN10(v strfmt.ISBN10) *strfmt.ISBN10

ISBN10 returns a pointer to the strfmt.ISBN10 value passed in.

func ISBN10Value

func ISBN10Value(v *strfmt.ISBN10) strfmt.ISBN10

ISBN10Value returns the value of the strfmt.ISBN10 pointer passed in or the default value if the pointer is nil.

func ISBN13

func ISBN13(v strfmt.ISBN13) *strfmt.ISBN13

ISBN13 returns a pointer to the strfmt.ISBN13 value passed in.

func ISBN13Value

func ISBN13Value(v *strfmt.ISBN13) strfmt.ISBN13

ISBN13Value returns the value of the strfmt.ISBN13 pointer passed in or the default value if the pointer is nil.

func ISBNValue

func ISBNValue(v *strfmt.ISBN) strfmt.ISBN

ISBNValue returns the value of the strfmt.ISBN pointer passed in or the default value if the pointer is nil.

func MAC

func MAC(v strfmt.MAC) *strfmt.MAC

MAC returns a pointer to the strfmt.MAC value passed in.

func MACValue

func MACValue(v *strfmt.MAC) strfmt.MAC

MACValue returns the value of the strfmt.MAC pointer passed in or the default value if the pointer is nil.

func Password

func Password(v strfmt.Password) *strfmt.Password

Password returns a pointer to the strfmt.Password value passed in.

func PasswordValue

func PasswordValue(v *strfmt.Password) strfmt.Password

PasswordValue returns the value of the strfmt.Password pointer passed in or the default value if the pointer is nil.

func RGBColor

func RGBColor(v strfmt.RGBColor) *strfmt.RGBColor

RGBColor returns a pointer to the strfmt.RGBColor value passed in.

func RGBColorValue

func RGBColorValue(v *strfmt.RGBColor) strfmt.RGBColor

RGBColorValue returns the value of the strfmt.RGBColor pointer passed in or the default value if the pointer is nil.

func SSN

func SSN(v strfmt.SSN) *strfmt.SSN

SSN returns a pointer to the strfmt.SSN value passed in.

func SSNValue

func SSNValue(v *strfmt.SSN) strfmt.SSN

SSNValue returns the value of the strfmt.SSN pointer passed in or the default value if the pointer is nil.

func ULID added in v0.20.1

func ULID(v strfmt.ULID) *strfmt.ULID

ULID returns a pointer to of the strfmt.ULID value passed in.

func ULIDValue added in v0.20.1

func ULIDValue(v *strfmt.ULID) strfmt.ULID

ULIDValue returns the value of the strfmt.ULID pointer passed in or the default value if the pointer is nil.

func URI

func URI(v strfmt.URI) *strfmt.URI

URI returns a pointer to the strfmt.URI value passed in.

func URIValue

func URIValue(v *strfmt.URI) strfmt.URI

URIValue returns the value of the strfmt.URI pointer passed in or the default value if the pointer is nil.

func UUID

func UUID(v strfmt.UUID) *strfmt.UUID

UUID returns a pointer to the strfmt.UUID value passed in.

func UUID3

func UUID3(v strfmt.UUID3) *strfmt.UUID3

UUID3 returns a pointer to the strfmt.UUID3 value passed in.

func UUID3Value

func UUID3Value(v *strfmt.UUID3) strfmt.UUID3

UUID3Value returns the value of the strfmt.UUID3 pointer passed in or the default value if the pointer is nil.

func UUID4

func UUID4(v strfmt.UUID4) *strfmt.UUID4

UUID4 returns a pointer to the strfmt.UUID4 value passed in.

func UUID4Value

func UUID4Value(v *strfmt.UUID4) strfmt.UUID4

UUID4Value returns the value of the strfmt.UUID4 pointer passed in or the default value if the pointer is nil.

func UUID5

func UUID5(v strfmt.UUID5) *strfmt.UUID5

UUID5 returns a pointer to the strfmt.UUID5 value passed in.

func UUID5Value

func UUID5Value(v *strfmt.UUID5) strfmt.UUID5

UUID5Value returns the value of the strfmt.UUID5 pointer passed in or the default value if the pointer is nil.

func UUID7 added in v0.25.0

func UUID7(v strfmt.UUID7) *strfmt.UUID7

UUID7 returns a pointer to the strfmt.UUID7 value passed in.

func UUID7Value added in v0.25.0

func UUID7Value(v *strfmt.UUID7) strfmt.UUID7

UUID7Value returns the value of the strfmt.UUID7 pointer passed in or the default value if the pointer is nil.

func UUIDValue

func UUIDValue(v *strfmt.UUID) strfmt.UUID

UUIDValue returns the value of the strfmt.UUID pointer passed in or the default value if the pointer is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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