git-bug/vendor/github.com/corpix/uarand
2018-08-16 18:22:00 +02:00
..
.gitignore add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
.go-makefile.json add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
.travis.yml add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
glide.lock add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
glide.yaml add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
LICENSE add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
Makefile add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
README.md add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
uarand.go add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
useragents.go add a new main to generate random bugs 2018-08-16 18:22:00 +02:00
useragents.mk add a new main to generate random bugs 2018-08-16 18:22:00 +02:00

uarand

Build Status

Random user-agent producer for go.

Example

package main

import (
	"fmt"

	"github.com/corpix/uarand"
)

func main() {
	fmt.Println(uarand.GetRandom())
}

Save it to snippet.go and run:

go run snippet.go

Which should produce something similar to:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36

License

MIT