wheat-cache/storage/temp/const.template

34 lines
547 B
Plaintext
Raw Normal View History

2021-09-28 22:42:11 +08:00
// Code generated by gen-struct. DO NOT EDIT.
2021-09-19 10:37:30 +08:00
// make gen-struct generated
2021-09-28 22:42:11 +08:00
package structure
2021-09-19 10:37:30 +08:00
const (
DEFAULT_KEY = iota
2021-10-03 16:22:06 +08:00
{% for key in keys %}
2021-09-19 10:37:30 +08:00
{{key}}
{%- endfor %}
2021-09-19 10:37:30 +08:00
)
const (
DEFAULT_COMM = iota
{% for key in sets -%}
2021-09-19 10:37:30 +08:00
{{key}}
{% endfor %}
)
var CommKeyString = map[string]int {
2021-10-23 23:41:36 +08:00
{%- for kmp in key_maps %}
{% for comm in kmp.val -%}
2021-09-19 10:37:30 +08:00
"{{comm}}": {{kmp.key}},
{% endfor -%}
2021-09-19 10:37:30 +08:00
{% endfor %}
}
var CommKey = map[int]int {
2021-10-23 23:41:36 +08:00
{%- for kmp in key_maps %}
{% for comm in kmp.upper -%}
2021-09-19 10:37:30 +08:00
{{comm}}: {{kmp.key}},
{% endfor -%}
2021-09-19 10:37:30 +08:00
{% endfor %}
}