Small things that makes your development in Golang a little bit more comfy.
To Pointers:
stringPointer := qogi.ToPointer("abcd123456")
uintPointer := qogi.ToPointer(uint(123456))
...
From Pointers:
uintPointerValue := qogi.UintOrZero(uintPointer)
uintZeroValue := qogi.UintOrZero(nil)
stringPointerValue := StringOrEmpty(stringPointer)
emptyString := StringOrEmpty(nil)
unsignedInteger, err := AtoUi("7")
float, err := AtoF("12345.54321")
uintAsString := UiToA(123)
Feel free to suggests, contribute, request, improve, criticize and so on :)
Have fun, someone.earth