go-x

This is an attempt to extend the golang builtin package with more utilities while improving the consistence of its interface. It includes data structures, file system, networking, iterators, json, logs, math, random, runes and strings.
Example
package main
import (
"github.com/renatopp/x/httpx"
"github.com/renatopp/x/logx"
)
func main() {
response := httpx.Fetch("GET", "https://google.com")
if !response.Is2xx() {
logx.Println("Bad request!")
return
}
logx.Println("Body: %v", response.Text())
}