README ¶ RandomUA This package generates a random user agent string from a preloaded, weighted set. Thank you to intoli.com for releasing their dataset. Installation go get -u github.com/aidenesco/randomua Usage import "github.com/aidenesco/randomua" func main() { ua := randomua.Random() fmt.Println(ua) // Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36 } Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package randomua generates User-Agent strings Index ¶ func Random() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Random ¶ func Random() string Random will give you a random User-Agent string Types ¶ This section is empty. Source Files ¶ View all Source files data.gorandomua.go Click to show internal directories. Click to hide internal directories.