13 lines
207 B
Go
13 lines
207 B
Go
package niri
|
|
|
|
import "encoding/json"
|
|
|
|
type overviewState struct {
|
|
IsOpen bool `json:"is_open"`
|
|
}
|
|
|
|
func (m overviewState) String() string {
|
|
data, _ := json.MarshalIndent(m, "", "\t")
|
|
return string(data)
|
|
}
|