Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 403 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 403 Bytes

Random user agent

This is a simple go package for random browser user agent.

Installation

$ go get github.com/mark1002/randomuseragent

Usage

package main

import (
    "fmt"

    "github.com/mark1002/randomuseragent"
)

func main() {
    fmt.Println(randomuseragent.GetRandomUserAgent())
    // "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
}