Integer flags accept 1234, 0664, 0x1234 and may be negative.
Boolean flags may be 1, 0, t, f, true, false, TRUE, FALSE, True, False.
- */
+*/
package flag
import (
}
var (
- esc_quot = strings.Bytes("""); // shorter than """
- esc_apos = strings.Bytes("'"); // shorter than "'"
- esc_amp = strings.Bytes("&");
- esc_lt = strings.Bytes("<");
- esc_gt = strings.Bytes(">");
+ esc_quot = strings.Bytes("""); // shorter than """
+ esc_apos = strings.Bytes("'"); // shorter than "'"
+ esc_amp = strings.Bytes("&");
+ esc_lt = strings.Bytes("<");
+ esc_gt = strings.Bytes(">");
)
// HtmlEscape writes to w the properly escaped HTML equivalent