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

fix bug#3306

上级 ce9e8d01
......@@ -52,4 +52,4 @@ package:
@echo 'start package'
@find . -name .DS_Store -print0 | xargs -0 rm -f
@cd ${BIN_DIR} && zip -r ${PACKAGE}.zip ${PROJECT}
@cd ${BIN_DIR} && rm -rf ${PROJECT}
\ No newline at end of file
#@cd ${BIN_DIR} && rm -rf ${PROJECT}
\ No newline at end of file
......@@ -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\x73\xda\x48\x16\x7e\xe7\x57\xa8\x92\x4a\xe5\x45\x26\x48\xae\x54\x26\xbc\xed\xee\x3f\xc8\xe3\x66\xa7\x5c\x1a\x90\x6d\x6a\xb9\x15\x92\x73\x4f\x95\x7c\xc1\xd8\xb1\x30\x6c\x62\x8c\x43\xf0\x85\x8c\x21\xde\xc4\x06\x7b\x26\xb1\x65\x2e\xe1\xc7\xa4\xbb\x25\x9e\xfc\x17\xb6\xba\x8f\x24\x04\xc8\xb3\x4e\x1e\x62\x90\xce\xf9\xce\x39\x5f\x9f\x5b\xa3\xc6\xd4\xb8\x1c\xe6\x5e\xc8\xc9\xa8\xa4\x4a\xa4\x74\x4a\xf2\xcd\x41\x36\x6f\xf6\x9a\x56\xeb\x84\xfc\x59\xb2\x5a\x5f\xc9\xce\x66\x20\x2a\x2b\x91\x30\x17\x08\x70\xdc\x6d\x8e\x6c\xe7\x50\xe7\xdc\xec\xac\x90\xb5\x22\x7d\x42\x9f\xd9\xfa\xa8\x53\x7f\x2e\x25\xe2\xe4\xa0\x8b\xbb\x05\xb3\xb2\x02\xa2\x64\xb7\x8e\x9b\x15\x74\xb9\x8e\x8b\x2b\xc8\xf8\x8c\x4f\xca\xa4\xf9\x8d\xbe\x65\x62\x3f\xb4\x25\x1b\x84\xa9\x82\x46\xe9\x2b\xea\xbd\x33\xb7\xce\xe0\x2b\x38\x81\xdf\xea\xa0\x0a\x60\xc8\x38\x1c\x2c\x1f\xe1\xb5\x55\xf0\x84\xc2\x78\xdc\xb3\xfd\xb6\x91\xed\x28\x39\x8e\x1c\xe4\x06\x1f\x77\xae\xba\x3a\x2e\xb4\x50\xa7\x6e\x6e\x1d\x99\x4d\xcd\xdc\x3f\x01\x5f\x29\x7c\x63\xc9\x6a\x2c\x92\x42\xc1\xea\x9f\x5a\xad\x3a\x80\x81\x41\x2a\xc3\xf8\x31\xcf\x3a\x78\x6f\x63\xe8\x37\x90\x43\xd1\x99\x9a\x17\x1d\x1f\x56\xac\x9a\x4e\xb6\x73\xa4\x7a\x4c\x76\xeb\x56\xab\x61\x76\x56\x6f\x82\x7e\xd5\xd5\x07\xbb\x7b\xb8\x9f\x1d\x68\xeb\x83\xda\xe5\xd0\x98\xb4\xa0\xce\xa7\x32\x61\x8e\x43\xbd\xaa\xa5\x65\xaf\x95\x7b\x22\x67\x94\x58\x2a\x79\xd5\xad\x98\xeb\x6b\xa4\x7a\x8c\x0b\x17\x3e\xb2\x8c\x31\x9b\xd5\xb5\xb2\x55\x3b\x72\x18\xf3\x32\x0d\x34\x0f\x96\x7b\x64\xeb\x3b\xae\x1e\xcd\xc6\xe4\x78\x54\xb1\xfa\xef\xe9\x59\x82\x40\x4e\x1f\xec\x7e\x1c\xda\x46\x86\x86\x8c\xcf\xc3\xe3\x04\x3a\xb0\x9e\xc5\xc5\x2f\xf0\x8e\xac\x6d\x5b\x5a\x16\x1f\x56\xdc\x7c\x18\x6a\x7b\xdd\x41\x9d\xfa\x14\xb3\x67\x27\x50\x57\xc3\x9f\x36\xc6\x0d\xd9\x0a\xcc\xc8\x40\xab\x58\xfd\x1c\xb8\x88\xcf\xf6\x88\xf6\xc9\xd6\x6c\x2e\x9b\x95\x15\x7c\x52\x1c\x5a\x0b\x8c\xc7\xe9\xc4\xce\xb4\xaf\xba\x15\xfa\xcd\x7e\x5f\xcc\x5f\x75\x75\xd4\xc9\x92\xad\x16\xd1\x17\xad\x0d\x9a\x98\x3f\xb4\x45\x52\x3a\xc5\x27\xe5\x1f\xda\x22\x32\x36\x48\xfe\xa3\xd9\xee\xe3\xb7\x7a\xd0\x86\xc9\x48\xc9\x39\xd9\x81\x61\xd1\x58\xfa\x32\xfe\xf0\xf5\xaa\xab\x93\xaa\x36\xc8\xe5\xad\xc6\x22\xf5\x89\xd9\x1e\xc6\x14\x4f\xa5\xd2\xb6\x16\x87\xbf\x7f\x36\x37\x5b\xe4\xb8\x46\x4a\xc3\xb4\x02\x05\xb2\x5f\x44\x86\x66\xbb\xc7\xc4\xf0\x61\x05\x9f\xfe\x87\x1c\xd7\x46\xb1\x66\x63\xcf\x18\x1c\x69\x15\x90\xa1\x91\xe3\x9a\x0d\x5a\x3e\x37\x2b\x2b\x56\x7f\x8f\x6c\xd6\xcd\xe3\x86\x4d\x08\x0b\x3f\x95\x49\x48\x2a\x24\x34\x0b\x17\xea\x14\xeb\xdb\xd6\xf7\x77\x38\xd7\xfe\xa1\x2d\x71\x1c\xe7\x48\xa7\x33\xb2\x63\x81\xb3\x5a\x75\xb7\xb8\xf1\x7a\xde\xec\x6a\x43\x57\xd2\x29\x45\x75\x04\x47\xe4\x8a\x9b\xb6\x9c\xe3\xb3\x9c\x9c\x53\xe7\x27\x01\x07\xa5\x3e\x6e\x53\x3f\x71\x63\x89\xec\x55\x91\x91\x87\xb3\xa6\xa9\x59\xd9\x32\x8f\x1b\x58\x6f\xe3\xb5\x55\x4a\xd3\xda\xfb\x41\x55\xa3\x65\xac\xe7\x70\xb3\x02\x08\xa0\x4e\xdf\xe6\x4b\xa8\x97\x27\x3b\x2d\x7c\x52\xb6\xde\x2c\x79\xc8\x92\x67\xd5\xb4\x04\x07\x8f\x2f\x1a\xb8\xf6\x05\x67\xb3\x2c\x69\xca\x40\x10\x18\x06\x20\x64\xe4\xf1\xe1\x3e\x9c\x89\x6d\xc6\x4f\x65\xd0\xd9\xb1\x9a\x87\x64\x87\xb5\x83\xff\xb6\x29\x93\x8e\xd8\xd0\x70\x26\x36\x37\xef\x58\xc6\x85\x3f\x7f\xda\xb0\x9f\x8a\xc3\x66\x24\x95\x9c\x8d\xcd\xb1\xc3\xb4\xb3\xa7\x5b\xa2\x7d\xa9\xd0\xc0\x87\xdb\x76\x2d\xb2\x1a\x85\x1a\x1e\xc9\x47\x27\x1f\x32\xa9\x84\x9b\x90\x4c\x1b\x72\xcf\x2d\x7f\x00\x18\xc6\xb3\xa0\x38\x69\x4f\xbb\x54\xdf\xdc\x3a\xb2\x3e\x7e\xb1\x35\x99\x28\x32\x4e\xdc\xa6\x67\x6d\xd4\xf1\xe5\x1f\xb8\xb9\x87\xbe\xd3\xc2\x96\xe2\x71\xd4\xf9\x9d\x56\x3e\x53\x24\xeb\x1a\xa9\x7a\x8a\x43\x91\xe3\x72\x44\x05\x74\x60\x05\x70\x87\xb3\x66\xa7\x25\x3f\x8b\xc8\x71\xab\x76\xe4\x16\x0c\xd9\xaf\x5b\xad\x8f\x6e\x80\x43\xef\xc7\x1a\xcf\xd3\x79\x39\xc3\xa6\xc4\x4f\x60\xdb\x6e\x32\x0b\x64\xb7\xe6\xf2\x10\x70\x3b\xc0\x68\x6f\x01\xf9\x81\x56\xc6\x85\x0b\x28\x3e\x7a\xa0\x45\x9d\x12\x9f\x5d\x36\xbf\x1e\xfc\xd0\x96\x48\x6b\x0b\x37\x96\x40\x3b\xcc\x09\xbc\xc8\x4f\x3b\xad\x91\x89\xa0\xcb\x7d\x3b\xb0\x9d\x96\x1d\x89\xde\x1e\x94\xbf\x8e\xab\x0a\x53\x42\x88\xe7\xfe\x36\xf5\x4f\x47\x9b\x49\x79\xfb\x24\x5e\x7d\x8b\x0b\x17\x61\xb2\x5b\x87\x54\x22\x27\xf5\x41\xa9\xef\x87\x13\x16\x87\x3c\x81\x94\xeb\x02\x3e\x2d\x90\xd2\xe9\xa4\xdf\x54\x2b\x14\x14\xae\x35\xfe\xc8\x35\x3b\xa8\x14\x48\xb5\xed\x8f\xf0\x88\x4e\x2d\xf6\x1e\xbf\xd5\x1d\xcb\x9f\xad\xe5\x1e\x6a\xeb\x03\x6d\x1d\x19\x9e\x1e\xe3\x45\xf7\xe6\xb6\x6b\x08\xda\xb0\x6b\xc8\xb6\x13\x8f\x29\x6a\x50\x7d\xa6\xd2\xe7\x30\xaf\x8a\xb4\x3f\x98\x1f\x0c\xdc\xba\xb4\x2e\x5a\xf8\xfb\x0a\x29\x9f\xb3\x01\x50\x87\xdd\xc8\x49\xe3\x36\xde\x6f\xe3\xdc\xaa\xd5\xac\x99\xcd\xb2\xbf\x1f\x2f\x93\xaf\x59\x02\x5d\xe2\x6e\x81\xec\xd6\x07\xb9\x3c\x3e\xcc\x0f\x53\xd0\xff\xcc\x17\x14\x39\x23\xbc\x14\x42\xa1\xd7\x3c\xfd\x28\xb2\x8f\x0e\x38\xa4\x26\xa3\xd3\x1e\xa3\xb9\x03\x17\x0a\x1a\x1f\x58\xa1\xcc\xb1\xaf\xe6\xd6\xd1\xe3\x5f\xc9\xc6\xb1\xf5\xed\x82\xec\xd6\x27\xac\x3d\x66\xe6\xc0\x12\xfb\x7f\xfa\x57\x30\x18\x70\x96\x8d\x17\x72\x52\x95\x52\x01\x7b\xa7\x08\x73\x42\x30\x14\x08\xc0\x90\x0d\xd3\xcc\x9e\x82\x99\x19\x86\x3f\x33\x91\x54\x22\x91\x4a\x72\xe3\xff\x6e\x73\xd0\x0e\x69\xae\xb3\x83\x18\xae\x3a\x8c\x2a\xa8\x8a\x41\x65\x8b\xac\x15\xed\xb6\xa0\xb7\x3d\x15\xea\x49\x0b\x9e\x13\x43\x53\xe2\x7d\x9e\x13\x1f\xf0\x9c\xf8\x90\xe7\xa6\x43\x8e\x0d\x56\x2f\xc1\x60\x90\x17\x42\xbc\x18\xe2\x45\x81\x17\x45\xfa\x55\xbc\xcf\x8b\x0f\x78\xf1\x61\x70\x3a\xc4\xd0\x60\x70\x85\xb9\x58\x52\x9d\x99\x70\xd5\xf5\x18\xc6\x18\x28\xc0\x04\x0b\x73\xb7\xfe\xa5\xde\xba\x5e\x81\xcd\xb3\xab\xae\x6e\xae\x5f\x92\xe6\x1b\x68\xc8\xf8\xcd\x01\xee\x96\x60\x05\xc3\xc5\x06\x5e\x7b\x4f\xca\x07\x74\xbb\xfe\xf4\x3b\xd9\x73\x56\xd7\x31\x12\x15\x55\x4e\xfb\x5b\xf0\x54\xd2\x58\xd9\x8e\xd3\x14\x16\x79\x4e\x98\x12\x69\x19\x8e\xa3\x08\xfc\x34\x7f\x9f\x7f\xc0\x3f\xe4\x05\x9e\x13\x82\x02\x2f\x04\x81\xa6\xc9\x58\x7d\x9c\xcb\x48\xc9\x68\x2a\xe1\x77\xc2\x50\xda\xb0\x7a\x8d\x55\xb7\xfd\xd4\xad\x63\x64\xe4\xad\xe5\x1e\x2e\xea\xa4\x7c\x8e\x73\x6d\x73\xf3\xd4\x2f\x84\x47\xd7\x52\x2d\xf0\xf7\xf9\x5f\x82\xc1\xe0\x8d\x3c\x9e\x8d\xc5\x65\x5f\x14\xd4\xd9\xf4\xf6\x0a\x64\x9c\x58\xad\x0e\x2e\x6c\x43\x8a\xd2\x03\xbb\x3c\x1f\x0b\xc4\xeb\x23\xad\x17\x85\x76\x0f\x3f\x47\x6f\x73\xee\x96\x8f\x8c\x13\x64\x68\x56\x4d\x47\xbd\x2a\x32\xda\xde\xf2\x07\x1b\xa3\xe8\xff\x2f\x1c\xba\xd9\xf9\x86\x63\xe5\x3e\xc3\x82\x07\xdb\xc0\x64\xf9\x48\x53\x2f\xae\x61\x14\xee\x17\x33\xbf\xcd\x44\xb8\x57\x5c\x74\x46\x9e\x99\xe5\x5e\x71\x73\x33\xf3\x33\x31\xa6\x4f\x4d\x86\xb9\xe9\xeb\x95\x21\x3b\x99\x71\x64\xac\x93\xe3\x9a\xab\xc6\x22\xb9\xb6\xca\xd8\x4c\x69\x15\xdc\xd5\x74\x7c\x2f\xbd\x09\x1f\x19\x39\x2d\x4b\xaa\x0f\xb0\xdd\x85\x5f\x3b\x37\x15\xda\x18\xbd\xc3\x76\xfc\x2c\xa7\x84\x97\xd3\xaf\xf9\xc7\x23\xcd\x50\x7c\xed\xec\x35\x99\x29\xe8\x93\xa3\x7f\x6c\x41\xef\xe7\x9b\xe5\x24\xdb\xb4\xaf\x75\xda\xdd\xbb\xa1\x89\x20\xe3\x0f\x77\x01\x1f\xaf\x92\xbf\x60\x36\x2d\x29\xca\xd3\x28\x27\xf0\xf6\x07\xd1\xf9\x30\xcd\x05\x83\x41\xfb\xb5\x10\x72\x40\x9d\xed\xff\x16\xbc\xb8\x13\x12\xa3\x13\xcd\xee\x36\x67\x6e\x1d\xdd\x11\xa3\x56\xad\x3e\xf8\xc0\x06\x63\xaf\x8f\x5b\xab\xe6\xc1\x22\x5c\xdc\x51\x7f\x97\xe8\x8b\xbf\xa0\x1e\x1d\x41\x77\xc4\x28\xb4\x7d\xab\x66\xaf\xc0\x37\x3d\xd3\x05\x45\x9e\x91\x92\x29\x75\x5e\xce\x78\xcb\xf7\xf6\xe8\x26\x9b\x3d\x47\x9d\x6d\x77\x6f\x1d\xdd\x45\x9d\xed\x37\xb9\x90\xf8\x4d\xce\x04\xe9\x8d\xd4\x2f\x65\x01\xa8\xf7\x8e\x36\xfb\x0f\x4d\xdc\x2b\x21\x63\x03\x76\x45\x8f\xe2\xb5\x6b\xf2\x4d\x43\x61\xc7\xa5\xf8\xdb\xce\x7e\x32\x7b\xcd\xb1\x20\xae\xba\xfa\xd8\x6f\x04\xa8\xbd\x0a\x57\x66\xfb\x6a\xa9\xa3\xce\x36\xea\x1c\xe3\xec\x19\x6a\x7f\x41\xed\x55\xda\x54\xda\x1f\xe0\xbe\x7c\xb6\x64\xfb\xc9\x7a\xae\x7b\xba\x99\x54\x22\xcc\x45\x16\x14\x35\x95\x08\xda\xc1\x3d\x11\x46\x89\x71\x9c\x8a\x4a\xaa\x74\x0f\x44\xef\x81\xe8\x3d\x5b\x74\x8c\x0a\x08\x6c\x94\x90\x05\x45\x0e\x73\x09\x39\x1a\x5b\x98\x9c\x12\x43\x43\xf6\xed\xc0\xd3\x23\xdd\x7b\x01\xe8\xc2\xcf\x3b\x3f\xc3\x72\x2c\xa9\xa8\x52\x32\x22\xfb\xb2\xec\x93\x2a\x7f\xc1\xb2\x7b\x29\xf1\x50\xa7\x3c\x57\x54\x39\x11\x8c\xa5\x27\x68\x9b\xa0\x0e\x44\xef\xc5\xd2\x0e\x6d\x43\x62\xd2\x99\xd8\x13\x49\x95\xff\xc1\x3b\x1f\x7e\x82\x18\x47\x05\xbf\xd5\xed\x8f\x7f\x47\xc6\xe1\x84\xbb\x37\xe1\x8a\xdd\x66\x26\x4c\x77\x36\xd9\x73\xf8\x35\x8a\xb4\x8b\x70\xce\xb8\xb0\x0d\x4f\x7c\xf9\x90\xa2\xd1\x8c\xac\x28\x94\x94\xc8\x7c\x2c\x29\x79\xd1\xbc\x64\xd8\x72\x94\x91\x67\x71\xe5\xd9\xf8\xc8\x2d\xe6\x91\xd1\x66\x00\xf4\x94\x2e\xea\xa8\x57\x35\x4f\xdd\xc5\x06\x2e\x7f\x61\x2e\x12\x53\x9f\x5f\x9f\x53\x70\x17\xa3\x32\xa3\xe3\xcf\xbe\xdd\x29\xaa\xa4\xca\x5c\x3c\xf6\x6f\x99\xbb\x7b\x07\x9f\x9d\x21\xa3\x7a\xe7\xee\x28\x00\xbb\xc6\x91\x9d\x16\x67\x56\x17\x51\xa7\x07\xbf\x5b\x81\xe8\x4d\xd9\x7d\x1a\x53\xe7\x67\x22\xf3\xb1\x78\x34\x23\x27\x47\xf2\xe3\x9b\x8e\xeb\x65\xf0\x0c\x68\xb4\xb7\x68\x10\x70\x61\x98\xae\xc0\x05\x1c\xcd\xe1\xf0\x76\x1f\x39\x0b\x6c\x5a\xca\xa8\xc2\xcc\xf0\xb1\xe3\xda\xdd\x57\x77\x03\xe3\xb0\x80\x2b\x8e\xc3\x3a\x77\xc4\x71\x58\xf1\x86\xb0\x0c\xd5\x13\xb4\x2f\xd8\xb4\x0f\x98\xfb\xc4\xa6\x61\xf8\x60\x82\xd2\x39\xba\x73\x2a\xa9\x64\xc0\x7b\xdc\xde\x25\x7e\xe4\x85\x33\x1b\x43\x53\x62\x68\x54\xc3\x35\xfd\xbf\x00\x00\x00\xff\xff\xcd\xb6\x13\x55\xfb\x16\x00\x00")
var _res_zh_sample_yaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\x5b\x73\xda\x48\x16\x7e\xe7\x57\xa8\x92\x4a\xe5\x45\x26\x48\xae\x54\x26\xbc\xed\xee\x3f\xc8\xe3\x66\xa7\x5c\x1a\x90\x6d\x6a\xb9\x15\x92\x73\x4f\x95\x7c\xc1\xd8\xb1\x30\x6c\x62\x8c\x43\xf0\x85\x8c\x21\xde\xc4\x06\x7b\x26\xb1\x65\x2e\xe1\xc7\xa4\xbb\x25\x9e\xfc\x17\xb6\xba\x8f\x24\x04\xc8\xb3\x4e\x1e\x62\x90\xce\xf9\xce\x39\x5f\x9f\x5b\xa3\xc6\xd4\xb8\x1c\xe6\x5e\xc8\xc9\xa8\xa4\x4a\xa4\x74\x4a\xf2\xcd\x41\x36\x6f\xf6\x9a\x56\xeb\x84\xfc\x59\xb2\x5a\x5f\xc9\xce\x66\x20\x2a\x2b\x91\x30\x17\x08\x70\xdc\x6d\x8e\x6c\xe7\x50\xe7\xdc\xec\xac\x90\xb5\x22\x7d\x42\x9f\xd9\xfa\xa8\x53\x7f\x2e\x25\xe2\xe4\xa0\x8b\xbb\x05\xb3\xb2\x02\xa2\x64\xb7\x8e\x9b\x15\x74\xb9\x8e\x8b\x2b\xc8\xf8\x8c\x4f\xca\xa4\xf9\x8d\xbe\x65\x62\x3f\xb4\x25\x1b\x84\xa9\x82\x46\xe9\x2b\xea\xbd\x33\xb7\xce\xe0\x2b\x38\x81\xdf\xea\xa0\x0a\x60\xc8\x38\x1c\x2c\x1f\xe1\xb5\x55\xf0\x84\xc2\x78\xdc\xb3\xfd\xb6\x91\xed\x28\x39\x8e\x1c\xe4\x06\x1f\x77\xae\xba\x3a\x2e\xb4\x50\xa7\x6e\x6e\x1d\x99\x4d\xcd\xdc\x3f\x01\x5f\x29\x7c\x63\xc9\x6a\x2c\x92\x42\xc1\xea\x9f\x5a\xad\x3a\x80\x81\x41\x2a\xc3\xf8\x31\xcf\x3a\x78\x6f\x63\xe8\x37\x90\x43\xd1\x99\x9a\x17\x1d\x1f\x56\xac\x9a\x4e\xb6\x73\xa4\x7a\x4c\x76\xeb\x56\xab\x61\x76\x56\x6f\x82\x7e\xd5\xd5\x07\xbb\x7b\xb8\x9f\x1d\x68\xeb\x83\xda\xe5\xd0\x98\xb4\xa0\xce\xa7\x32\x61\x8e\x43\xbd\xaa\xa5\x65\xaf\x95\x7b\x22\x67\x94\x58\x2a\x79\xd5\xad\x98\xeb\x6b\xa4\x7a\x8c\x0b\x17\x3e\xb2\x8c\x31\x9b\xd5\xb5\xb2\x55\x3b\x72\x18\xf3\x32\x0d\x34\x0f\x96\x7b\x64\xeb\x3b\xae\x1e\xcd\xc6\xe4\x78\x54\xb1\xfa\xef\xe9\x59\x82\x40\x4e\x1f\xec\x7e\x1c\xda\x46\x86\x86\x8c\xcf\xc3\xe3\x04\x3a\xb0\x9e\xc5\xc5\x2f\xf0\x8e\xac\x6d\x5b\x5a\x16\x1f\x56\xdc\x7c\x18\x6a\x7b\xdd\x41\x9d\xfa\x14\xb3\x67\x27\x50\x57\xc3\x9f\x36\xc6\x0d\xd9\x0a\xcc\xc8\x40\xab\x58\xfd\x1c\xb8\x88\xcf\xf6\x88\xf6\xc9\xd6\x6c\x2e\x9b\x95\x15\x7c\x52\x1c\x5a\x0b\x8c\xc7\xe9\xc4\xce\xb4\xaf\xba\x15\xfa\xcd\x7e\x5f\xcc\x5f\x75\x75\xd4\xc9\x92\xad\x16\xd1\x17\xad\x0d\x9a\x98\x3f\xb4\x45\x52\x3a\xc5\x27\xe5\x1f\xda\x22\x32\x36\x48\xfe\xa3\xd9\xee\xe3\xb7\x7a\xd0\x86\xc9\x48\xc9\x39\xd9\x81\x61\xd1\x58\xfa\x32\xfe\xf0\xf5\xaa\xab\x93\xaa\x36\xc8\xe5\xad\xc6\x22\xf5\x89\xd9\x1e\xc6\x14\x4f\xa5\xd2\xb6\x16\x87\xbf\x7f\x36\x37\x5b\xe4\xb8\x46\x4a\xc3\xb4\x02\x05\xb2\x5f\x44\x86\x66\xbb\xc7\xc4\xf0\x61\x05\x9f\xfe\x87\x1c\xd7\x46\xb1\x66\x63\xcf\x18\x1c\x69\x15\x90\xa1\x91\xe3\x9a\x0d\x5a\x3e\x37\x2b\x2b\x56\x7f\x8f\x6c\xd6\xcd\xe3\x86\x4d\x08\x0b\x3f\x95\x49\x48\x2a\x24\x34\x0b\x17\xea\x14\xeb\xdb\xd6\xf7\x77\x38\xd7\xfe\xa1\x2d\x71\x1c\xe7\x48\xa7\x33\xb2\x63\x81\xb3\x5a\x75\xb7\xb8\xf1\x7a\xde\xec\x6a\x43\x57\xd2\x29\x45\x75\x04\x47\xe4\x8a\x9b\xb6\x9c\xe3\xb3\x9c\x9c\x53\xe7\x27\x01\x07\xa5\x3e\x6e\x53\x3f\x71\x63\x89\xec\x55\x91\x91\x87\xb3\xa6\xa9\x59\xd9\x32\x8f\x1b\x58\x6f\xe3\xb5\x55\x4a\xd3\xda\xfb\x41\x55\xa3\x65\xac\xe7\x70\xb3\x02\x08\xa0\x4e\xdf\xe6\x4b\xa8\x97\x27\x3b\x2d\x7c\x52\xb6\xde\x2c\x79\xc8\x92\x67\xd5\xb4\x04\x07\x8f\x2f\x1a\xb8\xf6\x05\x67\xb3\x2c\x69\xca\x40\x10\x18\x06\x20\x64\xe4\xf1\xe1\x3e\x9c\x89\x6d\xc6\x4f\x65\xd0\xd9\xb1\x9a\x87\x64\x87\xb5\x83\xff\xb6\x29\x93\x8e\xd8\xd0\x70\x26\x36\x37\xef\x58\xc6\x85\x3f\x7f\xda\xb0\x9f\x8a\xc3\x66\x24\x95\x9c\x8d\xcd\xb1\xc3\xb4\xb3\xa7\x5b\xa2\x7d\xa9\xd0\xc0\x87\xdb\x76\x2d\xb2\x1a\x85\x1a\x1e\xc9\x47\x27\x1f\x32\xa9\x84\x9b\x90\x4c\x1b\x72\xcf\x2d\x7f\x00\x18\xc6\xb3\xa0\x38\x69\x4f\xbb\x54\xdf\xdc\x3a\xb2\x3e\x7e\xb1\x35\x99\x28\x32\x4e\xdc\xa6\x67\x6d\xd4\xf1\xe5\x1f\xb8\xb9\x87\xbe\xd3\xc2\x96\xe2\x71\xd4\xf9\x9d\x56\x3e\x53\x24\xeb\x1a\xa9\x7a\x8a\x43\x91\xe3\x72\x44\x05\x74\x60\x05\x70\x87\xb3\x66\xa7\x25\x3f\x8b\xc8\x71\xab\x76\xe4\x16\x0c\xd9\xaf\x5b\xad\x8f\x6e\x80\x43\xef\xc7\x1a\xcf\xd3\x79\x39\xc3\xa6\xc4\x4f\x60\xdb\x6e\x32\x0b\x64\xb7\xe6\xf2\x10\x70\x3b\xc0\x68\x6f\x01\xf9\x81\x56\xc6\x85\x0b\x28\x3e\x7a\xa0\x45\x9d\x12\x9f\x5d\x36\xbf\x1e\xfc\xd0\x96\x48\x6b\x0b\x37\x96\x40\x3b\xcc\x09\xbc\xc8\x4f\x3b\xad\x91\x89\xa0\xcb\x7d\x3b\xb0\x9d\x96\x1d\x89\xde\x1e\x94\xbf\x8e\xab\x0a\x53\x42\x88\xe7\xfe\x36\xf5\x4f\x47\x9b\x49\x79\xfb\x24\x5e\x7d\x8b\x0b\x17\x61\xb2\x5b\x87\x54\x22\x27\xf5\x41\xa9\xef\x87\x13\x16\x87\x3c\x81\x94\xeb\x02\x3e\x2d\x90\xd2\xe9\xa4\xdf\x54\x2b\x14\x14\xae\x35\xfe\xc8\x35\x3b\xa8\x14\x48\xb5\xed\x8f\xf0\x88\x4e\x2d\xf6\x1e\xbf\xd5\x1d\xcb\x9f\xad\xe5\x1e\x6a\xeb\x03\x6d\x1d\x19\x9e\x1e\xe3\x45\xf7\xe6\xb6\x6b\x08\xda\xb0\x6b\xc8\xb6\x13\x8f\x29\x6a\x50\x7d\xa6\xd2\xe7\x30\xaf\x8a\xb4\x3f\x98\x1f\x0c\xdc\xba\xb4\x2e\x5a\xf8\xfb\x0a\x29\x9f\xb3\x01\x50\x87\xdd\xc8\x49\xe3\x36\xde\x6f\xe3\xdc\xaa\xd5\xac\x99\xcd\xb2\xbf\x1f\x2f\x93\xaf\x59\x02\x5d\xe2\x6e\x81\xec\xd6\x07\xb9\x3c\x3e\xcc\x0f\x53\xd0\xff\xcc\x17\x14\x39\x23\xbc\x14\x42\xa1\xd7\x3c\xfd\x28\xb2\x8f\x0e\x38\xa4\x26\xa3\xd3\x1e\xa3\xb9\x03\x17\x0a\x1a\x1f\x58\xa1\xcc\xb1\xaf\xe6\xd6\xd1\xe3\x5f\xc9\xc6\xb1\xf5\xed\x82\xec\xd6\x27\xac\x3d\x66\xe6\xc0\x12\xfb\x7f\xfa\x57\x30\x18\x70\x96\x8d\x17\x72\x52\x95\x52\x01\x7b\xa7\x08\x73\x42\x30\x14\x08\xc0\x90\x0d\xd3\xcc\x9e\x82\x99\x19\x86\x3f\x33\x91\x54\x22\x91\x4a\x72\xe3\xff\x6e\x73\xd0\x0e\x69\xae\xb3\x83\x18\xae\x3a\x8c\x2a\xa8\x8a\x41\x65\x8b\xac\x15\xed\xb6\xa0\xb7\x3d\x15\xea\x49\x0b\x9e\x13\x43\x53\xe2\x7d\x9e\x13\x1f\xf0\x9c\xf8\x90\xe7\xa6\x43\x8e\x0d\x56\x2f\xc1\x60\x90\x17\x42\xbc\x18\xe2\x45\x81\x17\x45\xfa\x55\xbc\xcf\x8b\x0f\x78\xf1\x61\x70\x3a\xc4\xd0\x60\x70\x85\xb9\x58\x52\x9d\x99\x70\xd5\xf5\x18\xc6\x18\x28\xc0\x04\x0b\x73\xb7\xfe\xa5\xde\xba\x5e\x81\xcd\xb3\xab\xae\x6e\xae\x5f\x92\xe6\x1b\x68\xc8\xf8\xcd\x01\xee\x96\x60\x05\xc3\xc5\x06\x5e\x7b\x4f\xca\x07\x74\xbb\xfe\xf4\x3b\xd9\x73\x56\xd7\x31\x12\x15\x55\x4e\xfb\x5b\xf0\x54\xd2\x58\xd9\x8e\xd3\x14\x16\x79\x4e\x98\x12\x69\x19\x8e\xa3\x08\xfc\x34\x7f\x9f\x7f\xc0\x3f\xe4\x05\x9e\x13\x82\x02\x2f\x04\x81\xa6\xc9\x58\x7d\x9c\xcb\x48\xc9\x68\x2a\xe1\x77\xc2\x50\xda\xb0\x7a\x8d\x55\xb7\xfd\xd4\xad\x63\x64\xe4\xad\xe5\x1e\x2e\xea\xa4\x7c\x8e\x73\x6d\x73\xf3\xd4\x2f\x84\x47\xd7\x52\x2d\xf0\xf7\xf9\x5f\x82\xc1\xe0\x8d\x3c\x9e\x8d\xc5\x65\x5f\x14\xd4\xd9\xf4\xf6\x0a\x64\x9c\x58\xad\x0e\x2e\x6c\x43\x8a\xd2\x03\xbb\x3c\x1f\x0b\xc4\xeb\x23\xad\x17\x85\x76\x0f\x3f\x47\x6f\x73\xee\x96\x8f\x8c\x13\x64\x68\x56\x4d\x47\xbd\x2a\x32\xda\xde\xf2\x07\x1b\xa3\xe8\xff\x2f\x1c\xba\xd9\xf9\x86\x63\xe5\x3e\xc3\x82\x07\xdb\xc0\x64\xf9\x48\x53\x2f\xae\x61\x14\xee\x17\x33\xbf\xcd\x44\xb8\x57\x5c\x74\x46\x9e\x99\xe5\x5e\x71\x73\x33\xf3\x33\x31\xa6\x4f\x4d\x86\xb9\xe9\xeb\x95\x21\x3b\x99\x71\x64\xac\x93\xe3\x9a\xab\xc6\x22\xb9\xb6\xca\xd8\x4c\x69\x15\xdc\xd5\x74\x7c\x2f\xbd\x09\x1f\x19\x39\x2d\x4b\xaa\x0f\xb0\xdd\x85\x5f\x3b\x37\x15\xda\x18\xbd\xc3\x76\xfc\x2c\xa7\x84\x97\xd3\xaf\xf9\xc7\x23\xcd\x50\x7c\xed\xec\x35\x99\x29\xe8\x93\xa3\x7f\x6c\x41\xef\xe7\x9b\xe5\x24\xdb\xb4\xaf\x75\xda\xdd\xbb\xa1\x89\x20\xe3\x0f\x77\x01\x1f\xaf\x92\xbf\x60\x36\x2d\x29\xca\xd3\x28\x27\xf0\xf6\x07\xd1\xf9\x30\xcd\x05\x83\x41\xfb\xb5\x10\x72\x40\x9d\xed\xff\x16\xbc\xb8\x13\x12\xa3\x13\xcd\xee\x36\x67\x6e\x1d\xdd\x11\xa3\x56\xad\x3e\xf8\xc0\x06\x63\xaf\x8f\x5b\xab\xe6\xc1\x22\x5c\xdc\x51\x7f\x97\xe8\x8b\xbf\xa0\x1e\x1d\x41\x77\xc4\x28\xb4\x7d\xab\x66\xaf\xc0\x37\x3d\xd3\x05\x45\x9e\x91\x92\x29\x75\x5e\xce\x78\xcb\xf7\xf6\xe8\x26\x9b\x3d\x47\x9d\x6d\x77\x6f\x1d\xdd\x45\x9d\xed\x37\xb9\x90\xf8\x4d\xce\x04\xe9\x8d\xd4\x2f\x65\x01\xa8\xf7\x8e\x36\xfb\x0f\x4d\xdc\x2b\x21\x63\x03\x76\x45\x8f\xe2\xb5\x6b\xf2\x4d\x43\x61\xc7\xa5\xf8\xdb\xce\x7e\x32\x7b\xcd\xb1\x20\xae\xba\xfa\xd8\x6f\x04\xa8\xbd\x0a\x57\x66\xfb\x6a\xa9\xa3\xce\x36\xea\x1c\xe3\xec\x19\x6a\x7f\x41\xed\x55\xda\x54\xda\x1f\xe0\xbe\x7c\xb6\x64\xfb\xc9\x7a\xae\x7b\xba\x99\x54\x22\xcc\x45\x16\x14\x35\x95\x08\xda\xc1\x3d\x11\x46\x89\x71\x9c\x8a\x4a\xaa\x74\x0f\x44\xef\x81\xe8\x3d\x5b\x74\x8c\x0a\x08\x6c\x94\x90\x05\x45\x0e\x73\x09\x39\x1a\x5b\x98\x9c\x12\x43\x43\xf6\xed\xc0\xd3\x23\xdd\x7b\x01\xe8\xc2\xcf\x3b\x3f\xc3\x72\x2c\xa9\xa8\x52\x32\x22\xfb\xb2\xec\x93\x2a\x7f\xc1\xb2\x7b\x29\xf1\x50\xa7\x3c\x57\x54\x39\x11\x8c\xa5\x27\x68\x9b\xa0\x0e\x44\xef\xc5\xd2\x0e\x6d\x43\x62\xd2\x99\xd8\x13\x49\x95\xff\xc1\x3b\x1f\x7e\x82\x18\x47\x05\xbf\xd5\xed\x8f\x7f\x47\xc6\xe1\x84\xbb\x37\xe1\x8a\xdd\x66\x26\x4c\x77\x36\xd9\x73\xf8\x35\x8a\xb4\x8b\x70\xce\xb8\xb0\x0d\x4f\x7c\xf9\x90\xa2\xd1\x8c\xac\x28\x94\x94\xc8\x7c\x2c\x29\x79\xd1\xbc\x64\xd8\x72\x94\x91\x67\x71\xe5\xd9\xf8\xc8\x2d\xe6\x91\xd1\x66\x00\xf4\x94\x2e\xea\xa8\x57\x35\x4f\xdd\xc5\x06\x2e\x7f\x61\x2e\x12\x53\x9f\x5f\x9f\x53\x70\x17\xa3\x32\xa3\xe3\xcf\xbe\xdd\x29\xaa\xa4\xca\x5c\x3c\xf6\x6f\x99\xbb\x7b\x07\x9f\x9d\x21\xa3\x7a\xe7\xee\x88\x3e\xbb\xc5\xd1\xfd\xbf\xba\x88\x3a\x3d\xf8\xd5\x0a\x04\x6f\xca\xed\xd3\x98\x3a\x3f\x13\x99\x8f\xc5\xa3\x19\x39\x39\x92\x1d\xdf\x74\x5c\x2f\x83\x5f\x40\xa2\xbd\x43\x83\x80\x0b\xc3\x74\x05\x2e\xe0\x68\x0e\x47\xb7\xfb\xc8\x59\x5f\xd3\x52\x46\x15\x66\x86\x8f\x1d\xd7\xee\xbe\xba\x1b\x18\x87\x05\x5c\x71\x1c\xd6\xb9\x21\x8e\xc3\x8a\x37\x84\x65\xa8\x9e\xa0\x7d\xc1\xa6\x7d\xc0\xdc\x27\x36\x0d\xc3\x07\x13\x94\xce\xd1\x8d\x53\x49\x25\x03\xde\xc3\xf6\xae\xf0\x23\x2f\x9c\xc9\x18\x9a\x12\x43\xa3\x1a\xae\xe9\xff\x05\x00\x00\xff\xff\x78\x3b\xd8\x99\xf9\x16\x00\x00")
func res_zh_sample_yaml() ([]byte, error) {
return bindata_read(
......
......@@ -108,7 +108,7 @@ fields:
- field: field_use_excel # 从excel数据源里面取数据。
from: system.address.v1.china # 从data/system/address/v1.xlsx文件中读取名为china的工作簿。
select: city # 查询city字段。
where: state like '%山东%' # 条件是 省份包含山东。
where: state like '%山东%' # 条件是省份包含山东。
postfix: "\t"
- field: field_with_children # 嵌套字段
......
......@@ -12,14 +12,14 @@ import (
)
var (
exampleFile = fmt.Sprintf("res%sdoc%ssample.yaml", string(os.PathSeparator), string(os.PathSeparator))
usageFile = fmt.Sprintf("res%sdoc%susage.txt", string(os.PathSeparator), string(os.PathSeparator))
exampleFile = fmt.Sprintf("res%sen%ssample.yaml", string(os.PathSeparator), string(os.PathSeparator))
usageFile = fmt.Sprintf("res%sen%susage.txt", string(os.PathSeparator), string(os.PathSeparator))
)
func PrintExample() {
if vari.Config.Language == "en" {
exampleFile = strings.Replace(exampleFile, ".yaml", "_en.yaml", -1)
usageFile = strings.Replace(usageFile, ".txt", "_en.txt", -1)
if vari.Config.Language == "zh" {
exampleFile = strings.Replace(exampleFile, "en", "zh", 1)
usageFile = strings.Replace(usageFile, "en", "zh", 1)
}
content := fileUtils.ReadResData(exampleFile)
......@@ -27,9 +27,9 @@ func PrintExample() {
}
func PrintUsage() {
if vari.Config.Language == "en" {
exampleFile = strings.Replace(exampleFile, ".yaml", "_en.yaml", -1)
usageFile = strings.Replace(usageFile, ".txt", "_en.txt", -1)
if vari.Config.Language == "zh" {
exampleFile = strings.Replace(exampleFile, "en", "zh", 1)
usageFile = strings.Replace(usageFile, "en", "zh", 1)
}
usage := fileUtils.ReadResData(usageFile)
......
......@@ -121,14 +121,16 @@ func main() {
}
switch os.Args[1] {
case "-e", "-example":
logUtils.PrintExample()
case "-h", "-help":
logUtils.PrintUsage()
default:
flagSet.SetOutput(ioutil.Discard)
if err := flagSet.Parse(os.Args[1:]); err == nil {
if listRes {
if example {
logUtils.PrintExample()
return
} else if help {
logUtils.PrintUsage()
return
} else if listRes {
service.ListRes()
return
} else if viewRes != "" {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册