MCPcopy Index your code
hub / github.com/corpix/uarand

github.com/corpix/uarand @v0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.0 ↗ · + Follow
11 symbols 21 edges 4 files 6 documented · 55%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Unlicense

Extension points exported contracts — how you extend this code

Randomizer (Interface)
Randomizer represents some entity which could provide us an entropy.
uarand.go

Core symbols most depended-on inside this repo

GetRandom
called by 2
uarand.go
Intn
called by 1
uarand.go
GetRandom
called by 1
uarand.go
New
called by 1
uarand.go
Seed
called by 0
uarand.go
NewWithCustomList
called by 0
uarand.go

Shape

Function 6
Method 3
Interface 1
Struct 1

Languages

Go100%

Modules by API surface

uarand.go8 symbols
uarand_test.go2 symbols
useragents_test.go1 symbols

For agents

$ claude mcp add uarand \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact