Skip to content

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

License

Notifications You must be signed in to change notification settings

Mark1002/randomuseragent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages