types/incidents/samples.go
Function Samples
has 73 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func Samples() error {
log.Infoln("Inserting Sample Incidents...")
incident1 := &Incident{
Title: "Github Issues",
Description: "There are new features for Statping, if you have any issues please visit the Github Repo.",
Function Samples
has 9 return statements (exceeds 4 allowed). Open
Open
func Samples() error {
log.Infoln("Inserting Sample Incidents...")
incident1 := &Incident{
Title: "Github Issues",
Description: "There are new features for Statping, if you have any issues please visit the Github Repo.",