diff options
Diffstat (limited to 'tpl/cast/cast.go')
-rw-r--r-- | tpl/cast/cast.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tpl/cast/cast.go b/tpl/cast/cast.go index 535697f9e..1999ddc0a 100644 --- a/tpl/cast/cast.go +++ b/tpl/cast/cast.go @@ -26,8 +26,7 @@ func New() *Namespace { } // Namespace provides template functions for the "cast" namespace. -type Namespace struct { -} +type Namespace struct{} // ToInt converts v to an int. func (ns *Namespace) ToInt(v any) (int, error) { |