mirror of
https://github.com/gophish/gophish
synced 2024-11-15 00:37:14 +00:00
92f4ca6a90
If passing a Target instance to the database Updates method then empty attributes will be ignored. Using a map[string]interface ensures all changed attributes, even empty ones, are persisted to database. |
||
---|---|---|
.. | ||
attachment.go | ||
campaign.go | ||
doc.go | ||
group.go | ||
models.go | ||
models_test.go | ||
page.go | ||
result.go | ||
smtp.go | ||
template.go | ||
user.go |