utils

package
v0.4.117 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Copyright 2021 Wim Henderickx.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

BoolPtr return pointer to boolean

func Int32Ptr added in v0.3.34

func Int32Ptr(i int32) *int32

Int32Ptr return pointer to int32

func Int64Ptr added in v0.3.47

func Int64Ptr(i int64) *int64

Int64Ptr return pointer to int64

func IntPtr added in v0.3.34

func IntPtr(i int) *int

IntPtr return pointer to int

func RemoveString added in v0.4.27

func RemoveString(slice []string, s string) (result []string)

func StringPtr

func StringPtr(s string) *string

StringPtr return pointer to boolean

func Uint32Ptr

func Uint32Ptr(ui uint32) *uint32

Uint32Ptr return pointer to uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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