Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/reiver/go-strlit

Package strlit provides a way to "compile" a string literal into the value the it represents. For example, here are some string different string literals: 'apple banana cherry\tgrape' "apple banana cherry\tgrape" ‘apple banana cherry\tgrape’ “apple banana cherry\tgrape” ‹apple banana cherry\tgrape› «apple banana cherry\tgrape» Note that 6 different styles of quotes are supported by this package. It also supports a number of escape sequences. Namely: \0 (null) \a (bell) \b (backspace) \e (escape) \f (form feed) \n (line feed) \r (carriage return) \t (horizontal tab ) \v (vertical tab) \\ (backslash) \' \" \? \‘ \’ \“ \” \‹ \› \« \» \xhh \uhhhh \Uhhhhhhhh An example usage of this package looks like the following.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/reiver/go-strlit
License: MIT
Latest release: over 8 years ago
First release: over 8 years ago
Namespace: github.com/reiver
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago

    Loading...
    Readme
    Loading...