From 539b3496d3cbdbf3cab052d8d0e6f31b35f14659 Mon Sep 17 00:00:00 2001 From: rednafi Date: Tue, 5 Sep 2023 18:09:36 -0400 Subject: [PATCH] Publish blog on configuring options in Go, closes #41 --- content/go/configure_options.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/go/configure_options.md b/content/go/configure_options.md index 6330cf7..810b8cc 100644 --- a/content/go/configure_options.md +++ b/content/go/configure_options.md @@ -225,7 +225,7 @@ The complete snippet looks as follows: ```go package src -// We can keep style private +// We can keep the option struct private type style struct { fg string bg string @@ -233,7 +233,7 @@ type style struct { zigzag bool // Optional field } -// This can be priave too since the users won't need it directly +// This can be priavate too since the users won't need it directly type styleoption func(*style) // We only define public config functions for the optional fields