Documentation ¶
Overview ¶
* The MIT License (MIT) * * Copyright (c) 2018 Aliaksandr Valialkin * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * * Author: Aliaksandr Valialkin <valyala@gmail.com>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse parses floating-point number s.
It is equivalent to strconv.ParseFloat(s, 64), but is faster.
See also ParseBestEffort.
func ParseBestEffort ¶
ParseBestEffort parses floating-point number s.
It is equivalent to strconv.ParseFloat(s, 64), but is faster.
0 is returned if the number cannot be parsed. See also Parse, which returns parse error if the number cannot be parsed.
func ParseInt64 ¶
ParseInt64 parses int64 number s.
It is equivalent to strconv.ParseInt(s, 10, 64), but is faster.
See also ParseInt64BestEffort.
func ParseInt64BestEffort ¶
ParseInt64BestEffort parses int64 number s.
It is equivalent to strconv.ParseInt(s, 10, 64), but is faster.
0 is returned if the number cannot be parsed. See also ParseInt64, which returns parse error if the number cannot be parsed.
func ParseUint64 ¶
ParseUint64 parses uint64 from s.
It is equivalent to strconv.ParseUint(s, 10, 64), but is faster.
See also ParseUint64BestEffort.
func ParseUint64BestEffort ¶
ParseUint64BestEffort parses uint64 number s.
It is equivalent to strconv.ParseUint(s, 10, 64), but is faster.
0 is returned if the number cannot be parsed. See also ParseUint64, which returns parse error if the number cannot be parsed.
Types ¶
This section is empty.