Documentation ¶
Index ¶
Constants ¶
View Source
const Usage = "" /* 1010-byte string literal not displayed */
Variables ¶
View Source
var Cast = cast.MustFromRe("cast", bytes.NewReader([]byte{0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x20, 0x63, 0x61, 0x73, 0x74, 0xa, 0xa, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x28, 0xa, 0x9, 0x22, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0xa, 0x9, 0x22, 0x66, 0x6d, 0x74, 0x22, 0xa, 0x29, 0xa, 0xa, 0x76, 0x61, 0x72, 0x20, 0x28, 0xa, 0x9, 0x5f, 0x20, 0x3d, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x4e, 0x65, 0x77, 0xa, 0x9, 0x5f, 0x20, 0x3d, 0x20, 0x66, 0x6d, 0x74, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x66, 0xa, 0x29, 0xa, 0xa, 0x76, 0x61, 0x72, 0x20, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x20, 0x5f, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0xa, 0xa, 0x74, 0x79, 0x70, 0x65, 0x20, 0x5f, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x7b, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x5f, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x29, 0x20, 0x41, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x28, 0x29, 0x20, 0x5b, 0x5d, 0xce, 0x98, 0x20, 0x7b, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6e, 0x69, 0x6c, 0x20, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x5f, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x29, 0x20, 0x41, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x28, 0x29, 0x20, 0x5b, 0x5d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x7b, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6e, 0x69, 0x6c, 0x20, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x5f, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x29, 0x20, 0x50, 0x61, 0x72, 0x73, 0x65, 0x28, 0x73, 0x74, 0x72, 0x20, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x29, 0x20, 0x28, 0xce, 0x98, 0x2c, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x29, 0x20, 0x7b, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x30, 0x2c, 0x20, 0x6e, 0x69, 0x6c, 0xa, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x5f, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x29, 0x20, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x28, 0x29, 0x20, 0xce, 0x98, 0x20, 0x7b, 0xa, 0x9, 0x76, 0x61, 0x72, 0x20, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x20, 0xce, 0x98, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x65, 0x6d, 0x70, 0x74, 0x79, 0xa, 0x7d, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x76, 0x20, 0xce, 0x98, 0x29, 0x20, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x28, 0x29, 0x20, 0x28, 0x73, 0x74, 0x72, 0x20, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x29, 0x20, 0x7b, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0xa, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x76, 0x20, 0xce, 0x98, 0x29, 0x20, 0x49, 0x73, 0x5a, 0x65, 0x72, 0x6f, 0x28, 0x29, 0x20, 0x62, 0x6f, 0x6f, 0x6c, 0x20, 0x7b, 0xa, 0x9, 0x76, 0x61, 0x72, 0x20, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x20, 0xce, 0x98, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x76, 0x20, 0x3d, 0x3d, 0x20, 0x65, 0x6d, 0x70, 0x74, 0x79, 0xa, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x76, 0x20, 0xce, 0x98, 0x29, 0x20, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x28, 0x29, 0x20, 0x62, 0x6f, 0x6f, 0x6c, 0x20, 0x7b, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x72, 0x75, 0x65, 0xa, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x76, 0x20, 0xce, 0x98, 0x29, 0x20, 0x4d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x28, 0x29, 0x20, 0x28, 0x5b, 0x5d, 0x62, 0x79, 0x74, 0x65, 0x2c, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x29, 0x20, 0x7b, 0xa, 0x9, 0x76, 0x61, 0x72, 0x20, 0x73, 0x74, 0x72, 0x20, 0x3d, 0x20, 0x76, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x28, 0x29, 0xa, 0x9, 0x69, 0x66, 0x20, 0x76, 0x2e, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x28, 0x29, 0x20, 0x7b, 0xa, 0x9, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x5b, 0x5d, 0x62, 0x79, 0x74, 0x65, 0x28, 0x73, 0x74, 0x72, 0x29, 0x2c, 0x20, 0x6e, 0x69, 0x6c, 0xa, 0x9, 0x7d, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6e, 0x69, 0x6c, 0x2c, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x4e, 0x65, 0x77, 0x28, 0x73, 0x74, 0x72, 0x29, 0xa, 0x7d, 0xa, 0xa, 0x66, 0x75, 0x6e, 0x63, 0x20, 0x28, 0x76, 0x20, 0x2a, 0xce, 0x98, 0x29, 0x20, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x28, 0x64, 0x61, 0x74, 0x61, 0x20, 0x5b, 0x5d, 0x62, 0x79, 0x74, 0x65, 0x29, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x7b, 0xa, 0x9, 0x76, 0x61, 0x72, 0x20, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x2c, 0x20, 0x65, 0x72, 0x72, 0x20, 0x3d, 0x20, 0xce, 0x98, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x28, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x28, 0x64, 0x61, 0x74, 0x61, 0x29, 0x29, 0xa, 0x9, 0x69, 0x66, 0x20, 0x65, 0x72, 0x72, 0x20, 0x21, 0x3d, 0x20, 0x6e, 0x69, 0x6c, 0x20, 0x7b, 0xa, 0x9, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x65, 0x72, 0x72, 0xa, 0x9, 0x7d, 0xa, 0x9, 0x2a, 0x76, 0x20, 0x3d, 0x20, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0xa, 0x9, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6e, 0x69, 0x6c, 0xa, 0x7d, 0xa}))
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.