Skip to content

Instantly share code, notes, and snippets.

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