{"id":20528742,"url":"https://github.com/zmap/go-iptree","last_synced_at":"2026-03-14T21:39:00.017Z","repository":{"id":39634002,"uuid":"65932063","full_name":"zmap/go-iptree","owner":"zmap","description":"GoLang IP Radix Tree","archived":false,"fork":false,"pushed_at":"2021-07-31T04:30:55.000Z","size":23,"stargazers_count":114,"open_issues_count":1,"forks_count":14,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-12-10T22:24:38.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-17T18:26:46.000Z","updated_at":"2024-10-02T18:00:01.000Z","dependencies_parsed_at":"2022-09-02T06:20:59.002Z","dependency_job_id":null,"html_url":"https://github.com/zmap/go-iptree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmap%2Fgo-iptree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmap%2Fgo-iptree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmap%2Fgo-iptree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmap%2Fgo-iptree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmap","download_url":"https://codeload.github.com/zmap/go-iptree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230542288,"owners_count":18242332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T23:26:58.820Z","updated_at":"2026-03-14T21:38:54.962Z","avatar_url":"https://github.com/zmap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"GoLang IPTree\n=============\n\n[![Build Status](https://travis-ci.org/zmap/go-iptree.svg?branch=master)](https://travis-ci.org/zmap/go-iptree)\n\nThis is a golang based prefix tree for IP subnets\n\nInstall\n=======\n\ngo-iptree can be used by including:\n\n\timport \"github.com/zmap/go-iptree/iptree\"\n\n\nUsage\n=====\n\nBelow is a simple example:\n\n\tt := iptree.New()\n\tt.AddByString(\"0.0.0.0\", 0)\n\tt.AddByString(\"128.255.0.0/16\", 1)\n\tt.AddByString(\"128.255.134.0/24\", 0)\n\n\tif val, found, err := t.GetByString(\"128.255.134.5\"); err == nil \u0026\u0026 found {\n\t\tfmt.Println(\"Value is \", val)\n\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmap%2Fgo-iptree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmap%2Fgo-iptree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmap%2Fgo-iptree/lists"}