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 fb7913a commit 80d2d06
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 @@ -71,10 +71,10 @@ c := &src.Style{
}
```

In this case, the field that wasn't passed will assume the corresponding zero value. For
In this case, the field that wasn't passed would assume the corresponding zero value. For
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.
responsibility of retaining API compatibility 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 80d2d06

Please sign in to comment.