提交 deb72978 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

add "" for range value []:R

上级 9a64c743
......@@ -93,7 +93,7 @@ fields:
postfix: "\t"
- field: field_format # 通过格式化字符串输出。
range: 1-10:R # passwd 1,passwd 2,passwd 3 ... passwd10。
range: 1-10 # passwd 1,passwd 2,passwd 3 ... passwd10。
format: "passwd%02d" # 用%2d补零,使密码整体保持8位,%2d默认补空格。
postfix: "\t"
......
......@@ -82,4 +82,16 @@ fields:
from: base.domain.domain.v1.yaml
use: mixed_at_new
prefix: ""
postfix: "\t"
\ No newline at end of file
postfix: "\t"
- field: enaccount_at_common
from: base.domain.domain.v1.yaml
use: enaccount_at_common
prefix: ""
postfix: "\t"
- field: cnaccount_at_cn
from: base.domain.domain.v1.yaml
use: cnaccount_at_cn
prefix: ""
postfix: "\t"
......@@ -70,7 +70,7 @@ func res_zh_messages_json() ([]byte, error) {
)
}
var _res_zh_sample_yaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\x5b\x53\xdb\xc8\xf2\x7f\xf7\xa7\x50\x25\x95\xca\x8b\xec\x58\xa2\x52\xbb\xeb\xb7\xfd\xff\xbf\xc1\x3e\xee\x9e\x2d\xca\x8b\x05\xb8\x8e\xb1\x5d\x96\xd8\xcd\x8d\x2a\x73\x31\x86\x20\x63\x9f\x04\x30\x71\xcc\xc5\x59\x4c\x38\x09\xd8\xb0\x4b\x40\xf8\x12\x3e\x4c\x66\x46\xf2\x13\x5f\xe1\xd4\x4c\x8f\x2e\x16\xf2\x86\xe4\x21\xc8\xa3\xee\x5f\xf7\xfc\xa6\xbb\xa7\x5b\x5a\x52\x4b\x29\x31\xe1\x99\x92\x4e\xc4\xb5\x38\xd9\x3c\x25\xa5\xd6\xa0\x50\x32\xfb\x2d\xab\x7d\x42\xfe\xde\xb4\xda\xe7\x64\x7b\x3d\x94\x50\xd4\x89\x98\x10\x0a\x09\xc2\x7d\x81\x6c\x15\x51\xf7\xc2\xec\x2e\x91\x95\x0a\x5d\xa1\x6b\x5c\x1f\x75\x9b\x4f\xe3\x33\x29\xb2\xdf\xc3\xbd\xb2\x59\x5b\x02\x51\xb2\xd3\xc4\xad\x1a\xba\x5a\xc5\x95\x25\x64\x7c\xc0\x27\x55\xd2\xfa\x44\xdf\x32\xb1\x2f\xf9\x05\x0e\xc2\x54\x41\x63\xf3\x1c\xf5\x5f\x9b\x1b\x67\xf0\x13\x9c\xc0\xaf\x74\x50\x05\x30\x64\x1c\x0c\x16\x8f\xf0\xca\x32\x78\x42\x61\x3c\xee\x71\xbf\x39\x32\xdf\xa5\x20\x90\xfd\xe2\xe0\xdd\xf6\x4d\x4f\xc7\xe5\x36\xea\x36\xcd\x8d\x23\xb3\x95\x37\xf7\x4e\xc0\x57\x0a\x7f\xb8\x60\x1d\xce\x93\x72\xd9\xba\x3e\xb5\xda\x4d\x00\x03\x83\x54\x86\xf1\x63\x9e\x75\xf1\xee\x9a\xeb\x37\x90\x43\xd1\x99\x9a\x17\x1d\x1f\xd4\xac\x86\x4e\xb6\x8a\xa4\x7e\x4c\x76\x9a\x56\xfb\xd0\xec\x2e\xdf\x05\xfd\xa6\xa7\x0f\x76\x76\xf1\x75\x61\x90\x5f\x1d\x34\xae\x5c\x63\xf1\x59\x6d\x3a\x93\x8b\x09\x02\xea\xd7\xad\x7c\x61\xa4\xdc\xef\x4a\x4e\x4d\x66\xd2\x37\xbd\x9a\xb9\xba\x42\xea\xc7\xb8\x7c\x19\x20\xcb\x18\xe3\xac\xae\x54\xad\xc6\x91\xcd\x98\x97\x69\xa0\x79\xb0\xd8\x27\x1b\x9f\x71\xfd\x68\x32\xa9\xa4\x12\xaa\x75\xfd\x86\x9e\x25\x08\x14\xf5\xc1\xce\x3b\xd7\x36\x32\xf2\xc8\xf8\xe0\x1e\x27\xd0\x81\xf5\x02\xae\x7c\x84\x77\x64\x65\xcb\xca\x17\xf0\x41\xcd\x89\x07\x57\xdb\xeb\x0e\xea\x36\xc3\xcc\x1e\x0f\xa0\x5e\x1e\xbf\x5f\xf3\x1b\xe2\x0a\xcc\xc8\x20\x5f\xb3\xae\x8b\xe0\x22\x3e\xdb\x25\xf9\xf7\x5c\xb3\xb5\x68\xd6\x96\xf0\x49\xc5\xb5\x16\xf2\xef\xd3\xde\x3b\xd3\xbe\xe9\xd5\xe8\x2f\xfe\xbe\x52\xba\xe9\xe9\xa8\x5b\x20\x1b\x6d\xa2\xcf\x5b\x6b\x34\x30\xbf\xe4\xe7\xc9\xe6\x29\x3e\xa9\x7e\xc9\xcf\x23\x63\x8d\x94\xde\x99\x9d\x6b\xfc\x4a\x8f\x70\x98\x5c\x3c\x3d\xa5\xd8\x30\x6c\x37\x96\xbe\x88\xdf\x9e\xdf\xf4\x74\x52\xcf\x0f\x8a\x25\xeb\x70\x9e\xfa\xc4\x6c\xbb\x7b\x4a\x65\x32\x59\xae\x25\xe0\xcf\x1f\xcc\xf5\x36\x39\x6e\x90\x4d\x37\xac\x40\x81\xec\x55\x90\x91\xe7\xee\x31\x31\x7c\x50\xc3\xa7\xff\x21\xc7\x8d\x61\xac\xc9\xe4\x13\x06\x47\xda\x65\x64\xe4\xc9\x71\x83\x83\x56\x2f\xcc\xda\x92\x75\xbd\x4b\xd6\x9b\xe6\xf1\x21\x27\x84\x6d\x3f\x93\x9b\x89\x6b\x10\xd0\x6c\xbb\x90\xa7\x58\xdf\xb2\x3e\xbf\xc6\xc5\xce\x97\xfc\x82\x20\x08\xb6\x74\x36\xa7\xd8\x16\x04\xab\xdd\x74\x92\x1b\xaf\x96\xcc\x5e\xde\x75\x25\x9b\x51\x35\x5b\x70\x48\xae\xb2\xce\xe5\x6c\x9f\x95\xf4\x94\x36\x7d\x1b\x70\xb0\x79\x8d\x3b\xd4\x4f\x7c\xb8\x40\x76\xeb\xc8\x28\xc1\x59\xd3\xd0\xac\x6d\x98\xc7\x87\x58\xef\xe0\x95\x65\x4a\xd3\xca\x9b\x41\x3d\x4f\xd3\x58\x2f\xe2\x56\x0d\x10\x40\x9d\xbe\x2d\x6d\xa2\x7e\x89\x6c\xb7\xf1\x49\xd5\x7a\xb9\xe0\x21\x4b\x99\xd4\xb2\x71\x38\x78\x7c\x79\x88\x1b\x1f\x71\xa1\xc0\x82\xa6\x0a\x04\x81\x61\x00\x42\x46\x09\x1f\xec\xc1\x99\x70\x33\x41\x2a\x83\xee\xb6\xd5\x3a\x20\xdb\xac\x1c\xfc\xb7\x43\x99\xb4\xc5\x5c\xc3\xb9\xe4\xd4\xb4\x6d\x19\x97\xff\xfe\x66\xc3\x41\x2a\x36\x9b\x13\x99\xf4\x64\x72\x8a\x1d\x26\x8f\x9e\xde\x26\xad\x4b\xe5\x43\x7c\xb0\xc5\x73\x91\xe5\x28\xe4\xf0\x50\x3c\xda\xf1\x90\xcb\xcc\x38\x01\xc9\xb4\x21\xf6\x9c\xf4\x07\x00\x77\x3f\xb3\xaa\x1d\xf6\xb4\x4a\x5d\x9b\x1b\x47\xd6\xbb\x8f\x5c\x93\x89\x22\xe3\xc4\x29\x7a\xd6\x5a\x13\x5f\xfd\x85\x5b\xbb\xe8\x33\x4d\xec\x78\x2a\x85\xba\x7f\xd2\xcc\x67\x8a\x64\x35\x4f\xea\x9e\xe4\x50\x95\x94\x32\xa1\x01\x3a\xb0\x02\xb8\xee\x5d\xb3\xdd\x56\x9e\x4c\x28\x29\xab\x71\xe4\x24\x0c\xd9\x6b\x5a\xed\x77\xce\x06\x5d\xef\x7d\x85\xe7\x8f\x69\x25\xc7\x6e\x89\x6f\xc0\xe6\x6e\x32\x0b\x64\xa7\xe1\xf0\x10\xb2\xd3\x8f\x97\x16\xb6\xc2\x0a\x8e\x47\x8d\xf3\xcf\x8a\x08\xd9\x69\x7a\xc3\x15\x92\x94\x9a\xb6\x93\x9f\xb4\x37\xf0\xe1\x02\x85\x8c\xc9\x9e\x62\xe9\x81\xc3\x7a\x67\x50\x3d\x77\x6f\xdb\x20\xa0\x2f\xf9\x05\x2f\x50\x58\x8a\xda\x58\x21\xa7\x66\x0d\x57\x43\xc0\x1e\xe4\xab\xb8\x7c\x09\xe5\x82\x86\x60\x45\xa7\xa1\x52\x58\x34\xcf\xf7\x1d\x48\xd0\x8e\x09\x92\x28\x8b\x63\x1e\x17\x99\x14\xba\xda\xe3\xa7\xb1\xdd\xe6\xf4\x33\x77\xfd\xda\x52\x58\x8a\x8a\xc2\x8f\xe1\x9f\x3d\x00\x4c\xd0\x5b\xdf\xf1\xf2\x2b\x5c\xbe\x8c\x39\x9c\x91\x93\xe6\x60\xf3\x3a\x08\xca\xcb\x15\x48\x39\x5e\xe0\xd3\xb2\x97\x10\xc7\x7b\xaa\x15\x8d\x48\x23\xf5\xac\xf3\xbd\x00\x3d\x29\x1a\x0d\x4b\xb1\x30\x55\x13\x46\xfa\xfd\x93\xe3\xf1\xa0\x56\x26\xf5\x4e\xb0\xf1\x9f\xe8\x45\xcd\xde\xe3\x57\xba\x6d\xfc\x83\xb5\xd8\x47\x1d\x7d\x90\x5f\x45\x46\xde\x7f\xfe\x80\xee\x4d\x67\x37\x9c\xd8\xcd\xe3\x18\xe2\x76\x52\x49\x55\x8b\x68\x4f\x34\xba\x0e\x57\x74\x85\x96\x44\xf3\xad\x81\xdb\x57\xd6\x65\x1b\x7f\x5e\x22\xd5\x0b\x76\xe7\x35\xa1\x1d\xb4\x33\xb7\x83\xf7\x3a\xb8\xb8\x6c\xb5\x1a\x66\xab\x1a\xec\xc7\xf3\xf4\x1c\xcb\x99\x2b\xdc\x2b\x93\x9d\xe6\xa0\x58\xc2\x07\x25\x37\xeb\x82\x83\x66\x56\x55\x72\xd2\x73\x29\x1a\x9d\x13\xe9\xa3\xcc\x1e\x6d\x70\xc8\x46\x08\x6f\xe8\x1c\x8a\xfb\x0e\x14\xd4\x7a\xb0\x42\x99\x63\x3f\xcd\x8d\xa3\x5f\x7e\x25\x6b\xc7\xd6\xa7\x4b\xb2\xd3\xbc\x65\xed\x17\x66\x0e\x2c\xb1\xff\xc7\x7e\x05\x83\x21\xbb\xbf\x7a\xa6\xa4\xb5\x78\x26\xc4\xdb\xa8\x98\x20\x45\xa2\xa1\x10\xf4\x15\x31\x9a\x1a\x61\x68\x13\x62\xf0\x67\x7c\x22\x33\x33\x93\x49\x0b\xfe\x7f\xf7\x05\xb8\x01\x68\xb2\xb0\x83\x70\xbb\x3b\x46\x15\xa4\xd5\xa0\xb6\x41\x56\x2a\xbc\x12\xea\x1d\x4f\x51\xf2\x84\x85\x28\xc8\xd1\xb0\xfc\x58\x14\xe4\xef\x44\x41\xfe\x41\x14\xc6\xa2\xb6\x0d\x96\x70\x91\x48\x44\x94\xa2\xa2\x1c\x15\x65\x49\x94\x65\xfa\x53\x7e\x2c\xca\xdf\x89\xf2\x0f\x91\xb1\x28\x43\x83\xbb\x3a\x26\x24\xd3\xda\xf8\x2d\x57\x1d\x8f\xe1\xe6\x06\x05\xb8\xb4\x63\xc2\xbd\x7f\x69\xf7\x46\x2b\xb0\x2b\xfc\xa6\xa7\x9b\xab\x57\xa4\xf5\x12\xee\x20\xfc\x72\x1f\xf7\x36\xa1\xeb\xc4\x95\x43\xbc\xf2\x86\x54\xf7\xe9\x40\xf1\xfe\x4f\xb2\x6b\x77\xeb\x3e\x12\x55\x4d\xc9\x06\x5b\xf0\x64\x92\x2f\xe3\xfd\x34\xc5\x64\x51\x90\xc2\x32\xcd\x60\x3f\x8a\x24\x8e\x89\x8f\xc5\xef\xc4\x1f\x44\x49\x14\xa4\x88\x24\x4a\x11\xa0\xe9\xf6\x5e\x03\x9c\xcb\xc5\xd3\x89\xcc\x4c\xd0\x09\x43\x6a\x43\xb7\xe9\xcb\x6e\xbe\xea\xe4\x31\x32\x4a\xd6\x62\x1f\x57\x74\x52\xbd\xc0\xc5\x8e\xb9\x7e\x1a\xb4\x85\x9f\x46\x52\x2d\x89\x8f\xc5\xef\x23\x91\xc8\x9d\x3c\x9e\x4c\xa6\x94\x40\x14\xd4\x5d\xf7\xd6\x0a\x64\x9c\x58\xed\x2e\x2e\x6f\x41\x88\xd2\x03\xbb\xba\xf0\x6d\xc4\xeb\x23\xcd\x17\x95\x56\x8f\x20\x47\xef\x0b\xce\x60\x83\x8c\x13\x64\xe4\xad\x86\x8e\xfa\x75\x64\x74\xbc\xe9\x0f\x36\x86\xd1\xbf\xb6\x1d\x7a\x63\x05\x6e\xc7\x2a\x7e\x70\x6e\xb9\xe1\x3b\x9d\x3b\x1c\x0f\x3f\x1b\xc1\x28\x8c\x54\xe3\xbf\x8d\x4f\x08\x2f\x84\xc4\xb8\x32\x3e\x29\xbc\x10\xa6\xc6\xa7\xc7\x93\x4c\x9f\x5d\x92\xc2\xd8\x68\x65\x88\x4e\x66\x1c\x19\xab\xe4\xb8\xe1\xa8\xb1\x9d\x8c\xcc\x32\x76\xad\xb4\xcb\x4e\x37\xee\x6f\xc5\xef\xc2\x47\x4e\xc9\x2a\x71\x2d\x00\x98\x57\xe1\x39\x7b\x38\xa3\x85\xd1\x7b\x5b\xfb\xcf\x32\x2c\x3d\x1f\x9b\x13\x7f\x19\x2a\x86\xf2\x9c\xdd\xca\xe5\xc2\x50\x27\x87\xff\xc8\xde\xda\x09\xff\xdf\x2d\x26\xd9\x70\x31\xd2\x69\x67\xd4\x80\x22\x82\x8c\xbf\x9c\x99\xc3\x9f\x25\xff\xc0\x6c\x36\xae\xaa\x7f\x24\x04\x49\xe4\x0f\xb2\xfd\x30\x26\x44\x22\x11\xfe\xda\xed\x7c\xec\x81\xe7\x1e\xbc\x78\x10\x95\x13\xb7\x8a\xdd\x7d\xc1\xdc\x38\x7a\x20\x27\xac\x46\x73\xf0\x96\x5d\x8c\xfd\x6b\xdc\x5e\x36\xf7\xe7\xe1\x5b\x05\xba\xde\x21\xfa\xfc\xf7\xa8\x4f\xaf\xa0\x07\x72\x02\xca\xbe\xd5\xe0\x5d\xff\x5d\xcf\x74\x56\x55\xc6\xe3\xe9\x8c\x36\xad\xe4\xbc\xe9\x7b\x7f\xb8\x79\x2f\x5c\xa0\xee\x96\xd3\xaa\x0f\xb7\xdf\x76\xc3\x9f\x9e\x9d\xf9\x4d\xc9\x45\xe8\x10\x1e\x14\xb2\x00\xd4\x7f\x4d\x8b\xfd\xdb\x16\xee\x6f\x22\x63\x0d\xda\x63\x8f\xe2\xc8\xc9\xe0\xae\x5b\x61\xc7\xa5\x06\xdb\x2e\xbc\x37\xfb\x2d\xdf\x26\x6e\x7a\xba\xef\xb3\x08\xea\x2c\xc3\x57\x02\x3e\x4d\xeb\xa8\xbb\x85\xba\xc7\xb8\x70\x86\x3a\x1f\x51\x67\x99\x16\x95\xce\x5b\xf8\x44\x70\xb6\xc0\xfd\x64\x35\xd7\x39\xdd\x5c\x66\x26\x26\x4c\xcc\xaa\x5a\x66\x26\xa2\x29\xaa\x16\xe1\x3b\xfc\x5d\x72\xd8\xb1\x9d\x4a\xc4\xb5\xf8\x23\x10\x7d\x04\x52\x8f\xb8\x94\x8f\x0a\xd8\xd8\x30\x21\xb3\xaa\x12\x13\x66\x94\x44\x72\xf6\xf6\x2d\xe1\xee\x9e\x0f\x44\x9e\x1a\xe9\x8c\x42\xa0\x0b\x5f\xb4\xbe\x85\xe5\x64\x5a\xd5\xe2\xe9\x09\x25\x90\xe5\x80\x50\xf9\x07\x96\x9d\x39\xcc\x43\x9d\xfa\x54\xd5\x94\x99\x48\x32\xeb\x65\xec\x96\x25\x46\x1d\x88\x3e\x4a\x66\x6d\xda\x5c\x62\xb2\xb9\xe4\xef\x71\x4d\xf9\x7f\x91\x3f\xfc\xdf\x37\x10\x63\xeb\xe2\x57\xba\xad\x8d\x8c\x83\x5b\xee\x7e\x8d\xab\xb4\xa2\x6a\x4a\x82\xd3\xa5\xdd\x99\x2b\x64\x6c\xb8\x74\x31\x49\x4a\x17\x13\x0e\xa2\x8b\x47\x5a\x32\x1b\xe1\xbe\x0e\x71\x16\x14\x69\xc9\xec\x23\xaf\xa8\xcb\x59\x3c\x75\x3b\x77\xbf\xc2\x19\x6d\xbc\xd9\xcc\xec\xa3\x86\x77\x7e\xf7\x9e\xdf\xf3\x51\x35\x37\x2a\xaa\xd8\xa8\x7b\xcb\x60\x77\x9d\xad\xc3\xa7\x4a\xd2\xa9\x40\x46\xe0\xf2\x16\xac\x04\x46\x4e\x3c\x91\xc8\x29\xaa\x4a\xc3\x67\x62\x3a\x99\x8e\x7b\xd1\xbc\x61\xc3\xe5\x68\xec\x3c\x49\xa9\x4f\xfc\xcd\x49\xa5\x84\x8c\x0e\x03\xa0\x67\x74\xd9\x44\xfd\xba\x79\xea\xb4\x80\xf0\x65\x20\x26\x4c\x24\xb5\xa7\xa3\x09\x83\x41\x9d\xca\x0c\x37\x0a\x7c\xf4\x57\xb5\xb8\xa6\x08\xa9\xe4\xbf\x15\xe1\xe1\x03\x7c\x76\x86\x8c\xfa\x83\x87\x43\xfa\x6c\xc4\xa7\x93\x52\x7d\x1e\x75\xfb\xf0\x49\x13\x04\xef\x1a\x85\x7f\x24\xb5\xe9\xf1\x89\xe9\x64\x2a\x91\x53\xd2\x43\x79\xf4\x49\xc7\xcd\x2a\xf8\x05\x24\xf2\x69\x03\x04\x1c\x18\xa6\x2b\x09\x21\x5b\xd3\x6d\x72\x9c\x25\xfb\xb8\xb3\xf1\x9c\x26\x8d\xbb\xcb\xb6\x6b\x0f\x5f\x3c\x0c\xf9\x61\x01\x57\xf6\xc3\xfe\x18\xfe\x39\x10\x56\xbe\x23\x2c\x43\xf5\x6c\x3a\x10\x6c\x2c\x00\xcc\x59\xe1\x34\xb8\x0b\xb7\x28\x9d\xa2\xbd\xb9\x9a\x49\x87\xbc\x87\xed\x1d\x76\x86\x5e\xd8\x3d\x44\x34\x2c\x47\x87\x35\x1c\xd3\xff\x0b\x00\x00\xff\xff\x98\xc2\x2a\x50\x16\x19\x00\x00")
var _res_zh_sample_yaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\x5b\x53\x1a\xd9\xf6\x7f\xe7\x53\x74\xc5\x4a\xe5\xa5\x21\x74\x5b\xa9\x99\xe1\x6d\xfe\xff\x6f\x30\x8f\x33\x67\xca\xea\x81\x56\x39\x83\x40\xd1\xed\xe4\x6a\x15\x5e\x10\x8d\x8d\x70\x12\x15\x43\xf0\x42\x46\x8c\x27\x51\xd0\x19\xa3\x2d\x97\xf8\x61\xb2\xf7\xee\xe6\xc9\xaf\x70\x6a\xef\xb5\xbb\x69\xa0\xcd\x98\x3c\x44\xe8\x5e\xeb\xb7\xd6\xfe\xed\x75\x45\x8f\xeb\x09\x35\x22\x3c\x53\x93\x31\x45\x57\xc8\xe6\x29\x29\x34\x7a\xb9\x82\xd5\x6d\xd8\xcd\x13\xf2\xf7\xa6\xdd\x3c\x27\xdb\xeb\x81\x98\xaa\x45\x23\x81\xc0\x98\x40\xb6\xf2\xa8\x7d\x61\xb5\x97\xc8\x4a\x89\x7e\xe7\x8a\xa8\x5d\x7f\xaa\xcc\x24\xc8\x7e\x07\x77\x8a\x56\x65\x09\xc4\xc8\x4e\x1d\x37\x2a\xe8\x6a\x15\x97\x96\x90\xf9\x01\x9f\x94\x49\xe3\x13\x7d\xcb\xc4\xbe\x64\x17\x02\x63\x02\x53\x03\xe9\xcd\x73\xd4\x7d\x6d\x6d\x9c\xc1\x57\xb0\x8c\x5f\x19\xa0\x06\x40\xc8\x3c\xe8\x2d\x1e\xe1\x95\x65\xf0\x80\x42\xb8\x4e\x71\x57\x03\x63\x02\x3f\x94\x20\x90\xfd\x7c\xef\xdd\xf6\x4d\xc7\xc0\xc5\x26\x6a\xd7\xad\x8d\x23\xab\x91\xb5\xf6\x4e\xc0\x43\x0a\x7c\xb8\x60\x1f\xce\x93\x62\xd1\xbe\x3e\xb5\x9b\x75\x00\x02\x53\x54\x86\xd1\x61\x9d\xb5\xf1\xee\x1a\x78\xcb\x78\x10\x28\x32\x53\xf1\x22\xe3\x83\x8a\x5d\x33\xc8\x56\x9e\x54\x8f\xc9\x4e\xdd\x6e\x1e\x5a\xed\xe5\xbb\x20\xdf\x74\x8c\xde\xce\x2e\xbe\xce\xf5\xb2\xab\xbd\xda\x15\x18\x52\x66\xf5\xe9\x54\x26\x22\x08\xa8\x5b\xb5\xb3\x39\x5f\x99\x3f\xd4\x8c\x16\x4f\x25\x6f\x3a\x15\x6b\x75\x85\x54\x8f\x71\xf1\xd2\x47\x2e\x30\x26\x70\x06\x57\xca\x76\xed\xc8\xf3\x9d\x39\x03\x74\xf6\x16\xbb\x64\xe3\x33\xae\x1e\x4d\xc6\xd5\x44\x4c\xb3\xaf\xdf\xd0\xfb\x02\x81\xbc\xd1\xdb\x79\x07\x16\x91\x99\x45\xe6\x87\xfe\x95\xc1\xe1\xb1\x91\xc3\xa5\x8f\xf0\x8e\xac\x6c\xd9\xd9\x1c\x3e\xa8\xb8\xf7\x0d\x9a\x5e\x17\x50\xbb\x1e\x64\x76\x78\x70\x74\xb2\xf8\xfd\x9a\xd7\x00\x17\x66\xe0\xbd\x6c\xc5\xbe\xce\x83\x5b\xf8\x6c\x97\x64\xdf\x73\xad\xc6\xa2\x55\x59\xc2\x27\xa5\xbe\x95\xa1\x93\xd1\xef\x4c\xef\xa6\x53\xa1\x57\xc6\xdf\x95\x0a\x37\x1d\x03\xb5\x73\x64\xa3\x49\x8c\x79\x7b\x8d\x86\xdb\x97\xec\x3c\xd9\x3c\xc5\x27\xe5\x2f\xd9\x79\x64\xae\x91\xc2\x3b\xab\x75\x8d\x5f\x19\xa1\xc0\x98\x90\x51\x92\x53\xaa\x03\xc1\xfc\xb7\x8d\x45\xfc\xf6\xfc\xa6\x63\x90\x6a\xb6\x97\x2f\xd8\x87\xf3\xd4\x13\x66\x13\x4e\x91\x48\xa5\xd2\x5c\x43\xc0\x9f\x3f\x58\xeb\x4d\x72\x5c\x23\x9b\xfd\x70\x01\x61\xb2\x57\x42\x66\x96\xbb\xc5\xc4\xf0\x41\x05\x9f\xfe\x87\x1c\xd7\xfa\x38\x93\xf1\x27\x0c\x8a\x34\x8b\xc8\xcc\x92\xe3\x1a\x07\x2c\x5f\x58\x95\x25\xfb\x7a\x97\xac\xd7\xad\xe3\x43\x7e\xfc\xc9\x54\x66\x46\xd1\x21\x40\xd9\xf1\x20\xd3\xb0\xb1\x65\x7f\x7e\x8d\xf3\x2d\x2e\x96\xce\xa8\x0e\xac\x60\x37\xeb\x6e\x5e\xe2\xd5\x82\xd5\xc9\x82\xed\x74\x4a\xd3\x1d\xa1\x01\x99\xd2\x3a\x97\xa1\x0e\xaa\xc9\x29\x7d\x7a\x14\xa8\xb7\x79\x8d\x5b\xd4\x29\x7c\xb8\x40\x76\xab\xc8\x2c\xc0\x35\xd2\x48\xab\x6c\x58\xc7\x87\xd8\x68\xe1\x95\x65\xca\xc7\xca\x9b\x5e\x35\x4b\x73\xd0\xc8\xe3\x46\x05\x10\x40\x9d\xbe\x2d\x6c\xa2\x6e\x81\x6c\x37\xf1\x49\xd9\x7e\xb9\xc0\x59\x51\x27\xf5\xb4\x02\xb7\x8a\x2f\x0f\x71\xed\x23\xce\xe5\x58\x2c\x94\x81\x09\x30\x0a\x20\xc8\x2c\xe0\x83\x3d\x20\x9e\x9b\xf0\x53\xe9\xb5\xb7\xed\xc6\x01\xd9\x66\xb9\xfc\xdf\x16\xa5\xcd\x11\x03\xa3\x99\xf8\xd4\xb4\x63\x15\x17\xff\xfe\x66\xa3\x7e\x2a\x94\xc1\x68\x2a\x39\x19\x9f\x62\x37\xc6\x43\xa3\xb3\x49\x8b\x49\xf1\x10\x1f\x6c\xf1\x94\x62\xa9\x06\x69\x38\x10\x68\xf4\xc2\x33\xa9\x19\x37\xd2\x98\x26\x04\x95\x9b\xbd\xa0\x0c\x67\x98\xd5\x9c\x38\xa6\x65\xe5\xda\xda\x38\xb2\xdf\x7d\xe4\x5a\x4c\x0c\x99\x27\x6e\x85\xb2\xd7\xea\xf8\xea\x2f\xdc\xd8\x45\x9f\x69\x6e\x2a\x89\x04\x6a\xff\x49\x93\x97\x29\x92\xd5\x2c\xa9\xf2\x68\xd7\xd4\x84\x1a\xd5\x01\x19\x58\x00\xcc\x7e\x1b\xd8\x6e\xaa\x4f\xa2\x6a\xc2\xae\x1d\xb9\x19\x40\xf6\xea\x76\xf3\x9d\x7b\xa8\xbe\xd7\x9e\x9a\xf1\x78\x5a\xcd\xb0\x32\xfe\x0d\xb8\xdc\x3d\x86\x4e\x76\x6a\xfc\xec\x3c\x97\xfa\x75\xc1\x2b\xcc\x59\x66\xf9\x4f\x76\xea\xde\x40\x84\x5c\xa3\x06\x9d\xfc\x25\xcd\x0d\x7c\xb8\x40\xc1\x22\x32\xaf\x6c\x1e\x28\x6c\xb4\x7a\xe5\xf3\x7e\xdb\xf3\x03\xf9\x92\x5d\xf0\x82\x04\xa5\x30\xf7\x90\x15\x9a\xbe\x8b\x80\xd8\xcb\x96\x71\xf1\x12\xf2\x9c\x86\x55\xc9\xa0\x21\x90\x5b\xb4\xce\xf7\x5d\x20\xd0\x8c\x08\x92\x28\x8b\xe3\xdc\x29\x26\x81\xae\xf6\x38\xdb\xdb\x4d\x4e\x2f\x73\x70\x58\x53\x0a\x4a\x61\x51\xf8\x31\xf8\x33\x57\x66\x42\xde\xf2\x8b\x97\x5f\xe1\xe2\x65\xc4\x65\x87\x9c\xd4\x7b\x9b\xd7\x7e\x30\x0e\x2b\x20\xe1\x5a\xc7\xa7\x45\xef\xd1\x5d\x8f\xa9\x46\x38\x24\xf9\xea\xd8\xe7\x7b\x3e\x3a\x52\x38\x1c\x94\x22\x41\xe9\x36\x57\x7f\x72\x9d\xec\x55\x8a\xa4\xda\xf2\xb7\xf9\x13\x6d\x94\xec\x3d\x7e\x65\x38\x76\x3f\xd8\x8b\x5d\xd4\x32\x7a\xd9\x55\x64\x66\xbd\x97\x0b\xc8\xde\x6c\xec\xc7\x09\xeb\x08\xae\x11\x6e\x23\x11\xd7\xf4\x90\xfe\x44\xa7\xcf\xa1\x51\x96\x68\x15\xb3\xde\x9a\xb8\x79\x65\x5f\x36\xf1\xe7\x25\x52\xbe\x60\x7d\xa8\x0e\xd3\x96\x93\x80\x2d\xbc\xd7\xc2\xf9\x65\xbb\x51\xb3\x1a\xe5\x51\x1f\x9e\x27\xe7\x58\xf8\x5f\xe1\x4e\x91\xec\xd4\x7b\xf9\x02\x3e\x28\xf4\x93\xc7\x3f\x2e\x66\x35\x35\x23\x3d\x97\xc2\xe1\x39\x91\x7e\x94\xd9\x47\x0a\x0c\x49\x05\x31\x0b\x7d\x3b\xbf\xef\xc2\x40\x59\x06\x0b\x94\x2d\xf6\xd5\xda\x38\xfa\xe5\x57\xb2\x76\x6c\x7f\xba\x24\x3b\xf5\x11\x4b\xbf\x30\x53\x60\x85\xfd\x3f\xfe\x2b\x18\x0b\x38\xf3\xcc\x33\x35\xa9\x2b\xa9\x00\x1f\x5d\x22\x82\x14\x0a\x07\x02\xd0\xdd\x23\x81\x80\x20\x04\xa1\x65\x47\xe0\xcf\x44\x34\x35\x33\x93\x4a\x0a\xc3\xff\xc6\x04\x28\xd8\x34\x17\xd8\x05\xf4\x27\x29\x46\x13\x64\x4d\xaf\xb2\x41\x56\x4a\xbc\x90\x19\x2d\x5e\x57\xa8\xbe\x27\x14\x44\x41\x0e\x07\xe5\x47\xa2\x20\x7f\x27\x0a\xf2\x0f\xa2\x30\x1e\x76\x6c\xb0\x7c\x0a\x85\x42\xa2\x14\x16\xe5\xb0\x28\x4b\xa2\x2c\xd3\xaf\xf2\x23\x51\xfe\x4e\x94\x7f\x08\x8d\x87\x19\x1a\xb4\xd3\x88\x10\x4f\xea\x13\x23\xae\xba\x1e\x43\x73\x05\x05\xe8\xad\x11\xe1\xde\xbf\xf4\x7b\xb7\x2b\xb0\x4e\x7b\xd3\x31\xac\xd5\x2b\xd2\x78\x09\x6d\x03\xbf\xdc\xc7\x9d\x4d\x98\xf4\x70\xe9\x10\xaf\xbc\x21\xe5\x7d\x3a\xa7\xbf\xff\x93\xec\xc2\x3c\x3c\x42\xa2\xa6\xab\x69\x7f\x0b\x9e\xec\x19\x4a\xec\x61\x9a\x22\xb2\x28\x48\x41\x99\x26\xeb\x30\x8a\x24\x8e\x8b\x8f\xc4\xef\xc4\x1f\x44\x49\x14\xa4\x90\x24\x4a\x21\xa0\x69\xf4\xac\x3e\xce\x65\x94\x64\x2c\x35\xe3\x77\xc3\x90\xce\x30\xf3\x0d\x65\x34\x7f\xea\xe6\x2e\x32\x0b\xf6\x62\x17\x97\x0c\x52\xbe\xc0\xf9\x96\xb5\x7e\xea\x77\x84\x9f\x6e\xa5\x5a\x12\x1f\x89\xdf\x87\x42\xa1\x3b\x79\x3c\x19\x4f\xa8\xbe\x28\xa8\xbd\xee\xad\x11\xc8\x3c\xb1\x9b\x6d\x5c\xdc\x82\x10\xa5\x17\x76\x75\x31\x74\x10\xaf\x8f\x34\x5f\x34\x5a\x35\xfc\x1c\x1d\x13\xdc\x25\x02\x99\x27\xc8\xcc\xda\x35\x03\x75\xab\xc8\x6c\x79\x53\x1f\x6c\x0c\xa2\xff\xd3\x71\x68\x1b\xf2\x3d\x8e\x9d\xff\xe0\xb6\xae\x7e\x5b\xf6\x38\xac\x04\x9f\xdd\xc2\x28\xd3\x57\x26\x7e\x9b\x88\x0a\x2f\x84\xd8\x84\x3a\x31\x29\xbc\x10\xa6\x26\xa6\x27\xe2\x4c\x9f\x75\x3e\x61\xfc\x76\x65\x88\x4e\x66\x1c\x99\xab\xe4\xb8\xe6\xaa\xb1\x93\xdc\x9a\x65\x54\x8d\x34\x8b\xee\x94\x3c\x3c\x22\xdf\x85\x8f\x8c\x9a\x56\x15\xdd\x07\x98\x57\xe0\x39\x67\x2d\xa2\x85\xd1\xdb\x8c\x87\xef\x32\x28\x3d\x1f\x9f\x13\x7f\x19\x28\x86\xf2\x1c\x83\x82\xd7\xe2\xe8\x1f\xd9\x5b\x3b\xe1\xff\xbb\xc5\x24\x1b\xfc\x6f\x75\xda\x5d\x03\xa0\x88\x20\xf3\xaf\xfe\x3e\x20\x0c\x66\xc9\x57\x98\x4d\x2b\x9a\xf6\x38\x26\x48\x22\xff\x20\x3b\x1f\xc6\x85\x50\x28\xc4\x5f\xc3\x38\x43\x15\x9c\x65\xe4\x1e\xbc\xb8\x1f\x96\x63\x23\xc5\x6e\x4c\xb0\x36\x8e\xee\xcb\x31\xbb\x56\xef\xbd\x65\x0d\xb1\x7b\x8d\x9b\xcb\xd6\xfe\x3c\xfc\x1a\x80\xae\x77\x88\x31\xff\x3d\xea\xd2\x16\x74\x5f\x8e\x41\xd9\xb7\x6b\x7c\x48\xbf\xeb\x9d\xce\x6a\xea\x84\x92\x4c\xe9\xd3\x6a\xc6\x9b\xbe\x63\x83\x33\x77\xee\x02\xb5\xb7\xdc\x09\xbb\x3f\x39\x53\x51\x67\x4e\x4f\xce\xce\xfc\xa6\x66\x42\x74\x05\xf6\x0b\x59\x00\xea\xbe\xa6\xc5\xfe\x6d\x03\x77\x37\x91\xb9\x06\x13\xae\x47\xf1\xd6\x81\xfe\xae\x47\x61\xd7\xa5\xf9\xdb\xce\xbd\xb7\xba\x8d\xa1\x43\xdc\x74\x8c\xa1\x9f\x20\x50\x6b\x19\x76\x74\xbe\xdd\x1a\xa8\xbd\x85\xda\xc7\x38\x77\x86\x5a\x1f\x51\x6b\x99\x16\x95\xd6\x5b\x58\xd2\xcf\x16\xb8\x9f\xac\xe6\xba\xb7\x9b\x49\xcd\x44\x84\x7f\xab\xc9\xdf\xe3\x49\x2d\xc4\x4f\xf7\x87\x34\xc0\x8c\xe3\x54\x4c\xd1\x95\x87\xd1\x59\x4d\x4f\xcd\x3c\x04\xc9\x87\x5c\x72\x88\x0a\x38\xd8\x20\x21\xb3\x9a\x1a\x11\x66\xd4\x58\x7c\x76\xb4\x4b\xf4\x0d\xf1\x7d\xc6\x53\x23\xdd\x4d\x06\x74\xe1\x37\xa3\x6f\x61\x39\x9e\xd4\x74\x25\x19\x55\x7d\x59\xf6\x09\x95\xaf\xb0\xec\xae\x51\x1e\xea\xe2\xe9\x61\xba\xfc\xee\x93\x51\xa7\x3d\xd5\x74\x75\xe6\x61\x3c\xed\xd0\xd6\x27\x26\x9d\x89\xff\xa1\xe8\xea\xff\x8b\xfc\xc3\xff\x7d\x03\x31\x8e\x2e\x7e\x65\x38\xda\xc8\x3c\x18\x71\xf7\x9f\xb8\x4a\xaa\x9a\xae\xc6\x38\x5d\xfa\x9d\xb9\x42\xe6\x46\x9f\x2e\x26\x49\xe9\x62\xc2\x7e\x74\x39\x91\x16\x4f\x87\xb8\xb3\x5e\xee\xfc\x22\x2d\x9e\x7e\xe8\x95\xec\x73\xa6\x24\x7c\x29\xff\x1a\x67\x74\xe8\x66\x2b\xef\x10\x35\x7c\xf2\xbb\xf7\xfc\xde\x10\x55\x73\xb7\x45\x15\xdb\x58\x47\x0c\xb6\xd7\xd9\x73\xf8\x59\x90\xb4\x4a\x90\x11\xb8\xb8\x05\x4f\x06\xa9\x50\x62\xb1\x8c\xaa\x69\xa1\x68\x92\x46\x50\x74\x3a\x9e\x54\x86\xd1\xbc\x61\xc3\xc5\x69\xec\x3c\x49\x68\x4f\x86\x87\x93\x52\x01\x99\x2d\x06\x42\xef\xe8\xb2\x8e\xba\x55\xeb\xd4\x1d\x01\x61\xb9\x8f\x08\xd1\xb8\xfe\xf4\x76\xc2\x60\xdf\xa6\x32\x83\x83\x02\xdf\xe0\x35\x5d\xd1\x55\x21\x11\xff\x5d\x15\x1e\xdc\xc7\x67\x67\xc8\xac\xde\x7f\x30\x08\xc0\x56\x75\xba\x22\x55\xe7\x51\xbb\x0b\xbf\x28\x82\xe4\x5d\xc3\xf0\x71\x5c\x9f\x9e\x88\x4e\xc7\x13\xb1\x8c\x9a\x1c\x48\xa4\x4f\x06\xae\x97\xc1\x31\x60\x91\xaf\x1b\x20\xe0\xc2\x30\x5d\x29\xe0\x28\xf6\x87\x1c\xf7\x91\x73\xdd\x69\x25\xa3\x4b\x13\xfd\xc7\x8e\x67\x0f\x5e\x3c\x08\x0c\xa3\x02\xac\x3c\x0c\xfb\x63\xf0\x67\x5f\x58\xf9\x8e\xb0\x0c\xd5\x73\x66\x5f\xb0\xf1\x51\x30\xf7\xc1\x20\x09\x03\xd8\xc0\xe7\x14\x9d\xcc\xb5\x54\x32\xe0\xbd\x6a\xef\xaa\x33\xf0\xc2\x99\x20\xc2\x41\x39\x3c\xa8\xc1\x0d\xff\x2f\x00\x00\xff\xff\xad\xbe\xc3\x0f\x69\x18\x00\x00")
func res_zh_sample_yaml() ([]byte, error) {
return bindata_read(
......
......@@ -93,6 +93,11 @@ type FieldWithValues struct {
ValuesWithPlaceholder []string
}
type DefInfo struct {
Title string `yaml:"title"`
Desc string `yaml:"desc"`
}
func (def *DefSimple) Init(tableName, author, desc, version string) {
def.Title = "table " + tableName
def.Author = author
......
......@@ -142,21 +142,21 @@ func GetFilesAndDirs(path, typ string, res *map[string][][size]string) {
}
func readYamlInfo(path string) (title string, desc string) {
configDef := model.DefData{}
info := model.DefInfo{}
yamlContent, err := ioutil.ReadFile(path)
if err != nil {
logUtils.PrintTo(i118Utils.I118Prt.Sprintf("fail_to_read_file", path))
return
}
err = yaml.Unmarshal(yamlContent, &configDef)
err = yaml.Unmarshal(yamlContent, &info)
if err != nil {
logUtils.PrintTo(i118Utils.I118Prt.Sprintf("fail_to_parse_file", path))
return
}
title = configDef.Title
desc = configDef.Desc
title = info.Title
desc = info.Desc
return
}
......
......@@ -127,7 +127,7 @@ instances:
note: 字母和数字混合的域名
fields:
- field: numbers_and_letters
range: [a-z,0-9]:R
range: "[a-z,0-9]:R"
loop: 5-8
postfix: "."
- field: domain_postfix
......@@ -137,7 +137,7 @@ instances:
note: 字母和数字混合的CN域名
fields:
- field: numbers_and_letters
range: [a-z,0-9]:R
range: "[a-z,0-9]:R"
loop: 5-8
postfix: "."
- field: domain_postfix
......@@ -147,14 +147,14 @@ instances:
note: 字母和数字混合的新域名
fields:
- field: numbers_and_letters
range: [a-z,0-9]:R
range: "[a-z,0-9]:R"
loop: 5-8
postfix: "."
- field: domain_postfix
from: base.domain.postfix.v1.yaml
use: new
- instance: mixed_at_common
- instance: enaccount_at_common
note: 使用英文账号的CN域名
fields:
- field: english_account
......@@ -164,7 +164,7 @@ instances:
- field: domain_postfix
from: base.domain.postfix.v1.yaml
use: cn
- instance: mixed_at_cn
- instance: cnaccount_at_cn
note: 使用中文账号的新域名
fields:
- field: chinese_account
......
......@@ -6,7 +6,7 @@ version: 1.0
field: domain_postfix
note: 域名后缀
ranges:
common: [com,net,org,cn,cc,co,im,io]:R
cn: [cn,org.cn,net.cn,com.cn,gov.cn]
new: [app,ai,site,xyz,ltd,ren,wang,vip,top]
country: [cn,im,tv,cc,io,la]
\ No newline at end of file
common: "[com,net,org,cn,cc,co,im,io]:R"
cn: "[cn,org.cn,net.cn,com.cn,gov.cn]"
new: "[app,ai,site,xyz,ltd,ren,wang,vip,top]"
country: "[cn,im,tv,cc,io,la]"
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册