Matt Low
dce62e7748
Add new SetStructDefaults function to handle the "defaults" struct tag. Only works on struct fields which are pointers (in order to be able to distinguish between not set (nil) and zero values). So, the Config struct has been updated to use pointer fields and we now need to dereference those pointers to use them. |
||
---|---|---|
.. | ||
cli.go | ||
cmd.go | ||
config.go | ||
conversation.go | ||
openai.go | ||
store.go | ||
tty.go | ||
util.go |