phones

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Phone

type Phone struct {
	Id          int     `json:"id"`
	Number      *string `json:"number"`
	Extension   *string `json:"extension"`
	ServiceType string  `json:"service_type"`
	CountryCode *string `json:"country_code"`
}

func FromDBType

func FromDBType(dbPhone *db.Phone) *Phone

func FromDBTypeArray

func FromDBTypeArray(dbPhones []*db.Phone) []*Phone

Jump to

Keyboard shortcuts

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