ptr

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ptr provides conversion rules to pointers for DTO construction. Rules taken from AWS go SDK package on Apache License, Version 2.0 licence.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

Bool returns a pointer to the bool value passed in.

func Float32

func Float32(v float32) *float32

Float32 returns a pointer to the float32 value passed in.

func Float64

func Float64(v float64) *float64

Float64 returns a pointer to the float64 value passed in.

func Int

func Int(v int) *int

Int returns a pointer to the int value passed in.

func Int64

func Int64(val int64) *int64

Int64 returns a pointer to the int64 value passed in.

func String

func String(v string) *string

String returns a pointer to the string value passed in.

func Time

func Time(v time.Time) *time.Time

Time returns a pointer to the time.Time value passed in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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