Lint check adjustments.
This commit is contained in:
parent
0cb52b6e12
commit
1809b154e3
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