You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
721 B
38 lines
721 B
5 years ago
|
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||
|
// Input file: ../client/protocol/avdl/keybase1/ui.avdl
|
||
|
|
||
|
package keybase1
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
type PromptDefault int
|
||
|
|
||
|
const (
|
||
|
PromptDefault_NONE PromptDefault = 0
|
||
|
PromptDefault_YES PromptDefault = 1
|
||
|
PromptDefault_NO PromptDefault = 2
|
||
|
)
|
||
|
|
||
|
func (o PromptDefault) DeepCopy() PromptDefault { return o }
|
||
|
|
||
|
var PromptDefaultMap = map[string]PromptDefault{
|
||
|
"NONE": 0,
|
||
|
"YES": 1,
|
||
|
"NO": 2,
|
||
|
}
|
||
|
|
||
|
var PromptDefaultRevMap = map[PromptDefault]string{
|
||
|
0: "NONE",
|
||
|
1: "YES",
|
||
|
2: "NO",
|
||
|
}
|
||
|
|
||
|
func (e PromptDefault) String() string {
|
||
|
if v, ok := PromptDefaultRevMap[e]; ok {
|
||
|
return v
|
||
|
}
|
||
|
return fmt.Sprintf("%v", int(e))
|
||
|
}
|