Skip to content

mikluko/ptr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptr GoDoc Go Report Card

ptr contains functions for simplified creation of pointers from constants of basic types.

Installation

go get github.com/akabos/ptr

Examples

This code:

p := ptr.Int(10)

is the equivalent for:

i := int(10)
p := &i  

Documentation

GoDoc

License

Apache 2.0

About

Contains functions for simplified creation of pointers from constants of basic types

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 100.0%