Skip to content

Commit

Permalink
Updated src/content/blog/terminal-applications-in-go.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisoncramer committed Aug 28, 2024
1 parent d2954a3 commit 8cddb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/blog/terminal-applications-in-go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cddb83

Please sign in to comment.