ptrs

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b *bool) bool

Bool 将bool指针转换为bool

func BoolPtr

func BoolPtr(b bool) *bool

BoolPtr 获取bool指针

func Float64

func Float64(f *float64) float64

Float64 将float64指针转换为float64

func Float64Ptr

func Float64Ptr(f float64) *float64

Float64Ptr 获取float64指针

func Int

func Int(i *int) int

Int 将int指针转换为int

func Int64

func Int64(i *int64) int64

Int64 将int64指针转换为int64

func Int64Ptr

func Int64Ptr(i int64) *int64

Int64Ptr 获取int64指针

func IntPtr

func IntPtr(i int) *int

IntPtr 获取int指针

func IntPtrToInt8

func IntPtrToInt8(i *int) int8

IntPtrToInt8 将int指针转换为int8

func IntPtrToInt64

func IntPtrToInt64(i *int) int64

IntPtrToInt64 将int指针转换为int64

func String

func String(s *string) string

String 将string指针转换为string

func StringPtr

func StringPtr(s string) *string

StringPtr 获取string指针

Types

This section is empty.

Jump to

Keyboard shortcuts

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