Skip to content

Instantly share code, notes, and snippets.

@josephspurrier
josephspurrier / values_pointers.go
Last active October 31, 2024 15:05
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