mirror of https://github.com/statping/statping
Any zero value like 0, '', false won't be saved into the database for those fields defined default value, you might want to use pointer type or Scanner/Valuer to avoid this. See: https://gorm.io/docs/create.html#Default-Values |
||
|---|---|---|
| .. | ||
| checkins.go | ||
| database.go | ||
| failures.go | ||
| hits.go | ||
| incidents.go | ||
| methods.go | ||
| notifications.go | ||
| notifier.go | ||
| routine.go | ||
| routine_test.go | ||
| samples.go | ||
| services_test.go | ||
| services_test_alerts_test.go | ||
| struct.go | ||
| yaml.go | ||