Skip to content

Instantly share code, notes, and snippets.

@josephspurrier
josephspurrier / values_pointers.go
Last active Jan 30, 2023
Golang - Asterisk and Ampersand Cheatsheet
View values_pointers.go
/*
********************************************************************************
Golang - Asterisk and Ampersand Cheatsheet
********************************************************************************
Also available at: https://play.golang.org/p/lNpnS9j1ma
Allowed:
--------
p := Person{"Steve", 28} stores the value