MCPcopy Index your code
hub / github.com/aliuygur/is

github.com/aliuygur/is @v1.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.3 ↗ · + Follow
111 symbols 240 edges 4 files 59 documented · 53%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

is

Build Status GoDoc Go Report Card

Micro check library in Golang.

installation

go get gopkg.in/alioygur/is.v1

Not only regex

It works with runes as long as is it possible.

Part of source code;

// Alpha check if the string contains only letters (a-zA-Z). Empty string is valid.
func Alpha(s string) bool {
    for _, v := range s {
        if ('Z' < v || v < 'A') && ('z' < v || v < 'a') {
            return false
        }
    }
    return true
}

usage

package main

import "gopkg.in/alioygur/is.v1"
import "log"

func main()  {
    is.Email("jhon@example.com") // true
    is.Numeric("Ⅸ") // false
    is.UTFNumeric("Ⅸ") // true
}

for more documentation godoc

Contribute

we are waiting your contribution

  • Report problems
  • Add/Suggest new features/recipes
  • Improve/fix documentation

Many thanks to our contributors: contributors

Thanks & Authors

I use code/got inspiration from these excellent libraries:

Core symbols most depended-on inside this repo

Email
called by 4
is.go
UUID
called by 4
is.go
ISBN
called by 3
is.go
Whole
called by 2
is.go
Base64
called by 2
is.go
DNSName
called by 2
is.go
IP
called by 2
is.go
Port
called by 2
is.go

Shape

Function 109
Struct 2

Languages

Go100%

Modules by API surface

is.go58 symbols
is_test.go49 symbols
benchmarks_test.go3 symbols
patterns.go1 symbols

For agents

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

⬇ download graph artifact