From 4165372ec8fd142475a4e35fd0cf4f8042132208 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Wed, 22 Feb 2023 22:16:50 +0100 Subject: dependencies: update set go min requirements to 1.19 update dependencies update vendor --- .../github.com/google/safehtml/template/state_string.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vendor/github.com/google/safehtml/template/state_string.go (limited to 'vendor/github.com/google/safehtml/template/state_string.go') diff --git a/vendor/github.com/google/safehtml/template/state_string.go b/vendor/github.com/google/safehtml/template/state_string.go new file mode 100644 index 000000000..afbbf5a0d --- /dev/null +++ b/vendor/github.com/google/safehtml/template/state_string.go @@ -0,0 +1,16 @@ +// Code generated by "stringer -type State"; DO NOT EDIT + +package template + +import "fmt" + +const _State_name = "StateTextStateSpecialElementBodyStateTagStateAttrNameStateAfterNameStateBeforeValueStateHTMLCmtStateAttrStateError" + +var _State_index = [...]uint16{0, 9, 32, 40, 53, 67, 83, 95, 104, 114} + +func (i state) String() string { + if i >= state(len(_State_index)-1) { + return fmt.Sprintf("state(%d)", i) + } + return _State_name[_State_index[i]:_State_index[i+1]] +} -- cgit mrf-deployment