converter

package
v0.0.6-2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationPBToDuration

func DurationPBToDuration(t *durationpb.Duration) time.Duration

func PtrToString

func PtrToString(u *string) string

func ToBizAppSource

func ToBizAppSource(s librarian.AppSource) bizgebura.AppSource

func ToBizAppType

func ToBizAppType(t librarian.AppType) bizgebura.AppType

func ToBizInternalID

func ToBizInternalID(id *librarian.InternalID) int64

func ToBizUserStatus

func ToBizUserStatus(s pb.UserStatus) biztiphereth.UserStatus

func ToLibAuthUserType

func ToLibAuthUserType(u pb.UserType) libauth.UserType

func ToPBAppSource

func ToPBAppSource(s bizgebura.AppSource) librarian.AppSource

func ToPBAppType

func ToPBAppType(t bizgebura.AppType) librarian.AppType

func ToPBUserStatus

func ToPBUserStatus(s biztiphereth.UserStatus) pb.UserStatus

func ToPBUserType

func ToPBUserType(u libauth.UserType) pb.UserType

Types

type Converter

type Converter struct {
	// contains filtered or unexported fields
}

func NewConverter

func NewConverter() Converter

Jump to

Keyboard shortcuts

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