From 8cddb83d3cb8ff4f0c58d99c4eb9fcd557a55b75 Mon Sep 17 00:00:00 2001 From: Harrison Cramer Date: Wed, 28 Aug 2024 09:42:36 -0400 Subject: [PATCH] Updated src/content/blog/terminal-applications-in-go.mdx --- src/content/blog/terminal-applications-in-go.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/blog/terminal-applications-in-go.mdx b/src/content/blog/terminal-applications-in-go.mdx index c4efff0..063553b 100644 --- a/src/content/blog/terminal-applications-in-go.mdx +++ b/src/content/blog/terminal-applications-in-go.mdx @@ -152,7 +152,7 @@ func parseConfig(cmd *cobra.Command) (shared.PluginConfig, error) { } ``` -The `shared` package at this point just contains one file, which includes our type for our plugin options: +The `shared` package at this point just contains one file, which includes our type for our plugin options. This is the struct that we are unpacking our configuration into. We could also use Viper's `Get` method, but I like having all of the configuration in one place: ```go title="shared/types.go" package shared