mirror of
https://github.com/SigNoz/signoz.git
synced 2026-04-27 06:00:31 +01:00
* chore(lint): enable godot and staticcheck * chore(lint): merge main and fix new lint issues in main
14 lines
218 B
Go
14 lines
218 B
Go
package render
|
|
|
|
var (
|
|
StatusSuccess status = status{"success"}
|
|
StatusError = status{"error"}
|
|
)
|
|
|
|
// Defines custom error types.
|
|
type status struct{ s string }
|
|
|
|
func (s status) String() string {
|
|
return s.s
|
|
}
|