diff options
author | Alan Pearce | 2024-06-28 18:21:57 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-28 18:22:39 +0200 |
commit | cade05bffc5da4fa5b9ce1df93b4eb2abd246e73 (patch) | |
tree | 7cb27ae8d81697eec693a1e4d5966bc4a9bf7fad /internal/builder | |
parent | 313f62584d7e5b59b9322442d0ee07a7526a0324 (diff) | |
download | website-cade05bffc5da4fa5b9ce1df93b4eb2abd246e73.tar.lz website-cade05bffc5da4fa5b9ce1df93b4eb2abd246e73.tar.zst website-cade05bffc5da4fa5b9ce1df93b4eb2abd246e73.zip |
use pointers for builder configuration
Diffstat (limited to 'internal/builder')
-rw-r--r-- | internal/builder/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go index 0bf6cb2..256d422 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -244,7 +244,7 @@ func build(outDir string, config *config.Config) (*Result, error) { return r, nil } -func BuildSite(ioConfig IOConfig, cfg *config.Config) (*Result, error) { +func BuildSite(ioConfig *IOConfig, cfg *config.Config) (*Result, error) { if cfg == nil { var err error cfg, err = config.GetConfig() |