salloc

package
v0.0.0-...-27d64f3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrcatByteSlice

func StrcatByteSlice(id int, name string, t time.Time) string

StrcatByteSlice uses a slice of bytes initially empty

func StrcatBytesBuffer

func StrcatBytesBuffer(id int, name string, t time.Time) string

StrcatBytesBuffer uses a bytes.Buffer

func StrcatSlicePreallocated

func StrcatSlicePreallocated(id int, name string, t time.Time) string

StrcatSlicePreallocated uses a slice of bytes with a starting capacity of 64 bytes

func StrcatSprintf

func StrcatSprintf(id int, name string, t time.Time) string

StrcatSprintf uses fmt.Sprintf

func StrcatStrAppend

func StrcatStrAppend(id int, name string, t time.Time) string

StrcatStrAppend uses the + operator to append the string pieces

func StrcatStrBuilder

func StrcatStrBuilder(id int, name string, t time.Time) string

StrcatStrBuilder uses a strings.Builder

Types

This section is empty.

Jump to

Keyboard shortcuts

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