Skip to content

Commit

Permalink
Publish blog on configuring options in Go, closes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
rednafi committed Sep 6, 2023
1 parent 5703e7a commit d63af44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/go/configure_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ c := &src.Style{
```

In this case, the field that wasn't passed will assume the corresponding zero value. For
instance `Bg` will be an empty string. However, this pattern puts the responsibilty of
retaining API compatibity on the users' shoulders. So if your code is meant for external
use, there are better ways to achieve option configurability.
instance `Bg` will be initialized as an empty string. However, this pattern puts the
responsibilty of retaining API compatibity on the users' shoulders. So if your code is meant
for external use, there are better ways to achieve option configurability.

## Option factory

Expand Down

0 comments on commit d63af44

Please sign in to comment.