Lint check adjustments.
This commit is contained in:
parent
944a4d941a
commit
51e44a57a1
18 changed files with 120 additions and 92 deletions
12
msg/msg.go
12
msg/msg.go
|
|
@ -6,13 +6,21 @@ import (
|
|||
"github.com/labstack/echo/v4"
|
||||
)
|
||||
|
||||
// Type is a message type
|
||||
type Type string
|
||||
|
||||
const (
|
||||
// TypeSuccess represents a success message type
|
||||
TypeSuccess Type = "success"
|
||||
TypeInfo Type = "info"
|
||||
|
||||
// TypeInfo represents a info message type
|
||||
TypeInfo Type = "info"
|
||||
|
||||
// TypeWarning represents a warning message type
|
||||
TypeWarning Type = "warning"
|
||||
TypeDanger Type = "danger"
|
||||
|
||||
// TypeDanger represents a danger message type
|
||||
TypeDanger Type = "danger"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue