mirror of
https://github.com/grafana/grafana.git
synced 2024-12-27 09:21:35 -06:00
4dd7b7a82d
* Chore: Remove more unused Go code Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
17 lines
355 B
Go
17 lines
355 B
Go
package models
|
|
|
|
type HelpFlags1 uint64
|
|
|
|
const (
|
|
HelpFlagGettingStartedPanelDismissed HelpFlags1 = 1 << iota
|
|
HelpFlagDashboardHelp1
|
|
)
|
|
|
|
func (f HelpFlags1) HasFlag(flag HelpFlags1) bool { return f&flag != 0 }
|
|
func (f *HelpFlags1) AddFlag(flag HelpFlags1) { *f |= flag }
|
|
|
|
type SetUserHelpFlagCommand struct {
|
|
HelpFlags1 HelpFlags1
|
|
UserId int64
|
|
}
|