Пример #1
0
func withUint64Arg(
	parser *parser,
	buf *streambuf.Buffer,
	fn func(msg *message, v uint64),
) error {
	parseNextArg(buf)
	value, err := buf.AsciiUint(false)
	if err == nil {
		fn(parser.message, value)
	}
	return textArgError(err)
}