title: When to use empty structs author: John Mackenzie date: 2019-02-06 draft: true post_date: 6th February 2019 excerpt: description: image: /images/

draft: true

A quick introduction

Empty structs take up very little space, the below program outputs 0 bytes. We will be able to leverage this low memory footprint to make our programs faster and more efficient.

package main

import (

func main() {
	var emptyStruct struct{}

Completed channel

Unique values