package
0.0.0-20250206101203-bd6683890685
Repository: https://github.com/dockerian/go-coding.git
Documentation: pkg.go.dev

# README

Code Examples

This is a collection of coding examples in Go (golang).


Golang Topics


Others

# Functions

Atoi converts string to integer Note: 0 for valid decimal number; return max or min on overflow.
DecodeInteger decrypts code by length to two integers.
EncodeIntegers crypts two integers by length.
GetMergedChannels merges two channels to one.
MergeChannels merges inputs to one out channel.

# Constants

int(MaxUint >> 1).
int(MaxUint16 >> 1).
int(MaxUint32 >> 1).
int64(MaxUint64 >> 1).
int(MaxUint8 >> 1).
MaxUint represents maximum unsigned integer.
MaxUint16 represents maximum 16-bit unsigned integer.
MaxUint32 represents maximum 32-bit unsigned integer.
MaxUint64 represents maximum 64-bit unsigned integer.
MaxUint8 represents maximum 8-bit unsigned integer.
^MaxInt.
^MaxInt16.
^MaxInt32.
^MaxInt64.
^MaxInt8.

# Structs

Foo struct is a template of using interface data.