Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.14 KB

File metadata and controls

18 lines (13 loc) · 1.14 KB

Pointers to builtin types.

GoDoc Build Status (Linux) Build status (Windows) Coverage Status GoReportCard License

Package ptr is a very simple package that provides functions to return pointers to values of builtin types.

The deref subdirectory contains a package for safely dereferencing pointers.

These simple packages can be useful when dealing with APIs and datatypes that use pointers to represent optional parameters.

Almost all of the code in the ptr and ptr/deref packages has been automatically generated.