Skip to content

Commit a61fe90

Browse files
committed
doc: StringTo doc comment
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
1 parent 54e5e39 commit a61fe90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

decode_hooks_string.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ type ExactStringConvertible interface {
7272
ExactPrimitiveStringConvertible | ComplexStringConvertible
7373
}
7474

75+
// StringToHookFunc is a generic decode hook for converting strings.
7576
func StringToHookFunc[T ExactStringConvertible]() DecodeHookFunc {
7677
return StringParserHookFunc(getParseFunc[T]())
7778
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy