utils

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysToLower

func KeysToLower(q url.Values) url.Values

KeysToLower convert all the keys to LowerCase

func KeysToUpper

func KeysToUpper(q url.Values) url.Values

KeysToUpper convert all the keys to UpperCase

func StripDuplicateAttr

func StripDuplicateAttr(attr []xml.Attr) []xml.Attr

StripDuplicateAttr removes the duplicate Attributes from a []Attribute

Types

type XMLAttribute

type XMLAttribute []xml.Attr

XMLAttribute wrapper around the array of xml.Attr

func (*XMLAttribute) UnmarshalXML

func (xmlattr *XMLAttribute) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML func for the XMLAttr struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL