mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-24 05:26:02 +03:00
874d7b4987
Signed-off-by: Bruce <weichou1229@gmail.com>
15 lines
175 B
Go
15 lines
175 B
Go
package parse
|
|
|
|
import (
|
|
"fmt"
|
|
"strconv"
|
|
"testing"
|
|
)
|
|
|
|
func TestParseInt(t *testing.T) {
|
|
var _, err = strconv.ParseInt("127", 0, 8)
|
|
if err != nil {
|
|
fmt.Println(err)
|
|
}
|
|
}
|