Current collected state Current
Observed since 21 Oct, 09:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0xsarwagya/ontoly-go
Pure Go semantic model analyzer for Ontoly, powered by tree-sitter.
Pure Go semantic model analyzer for Ontoly, powered by tree-sitter.
Parses Go source files and produces a typed semantic model (GoProject) covering packages, structs, interfaces, functions, methods, imports, constants, variables, type aliases, and call expressions.
import { analyzeGoProject } from "@0xsarwagya/ontoly-go";
const project = analyzeGoProject({
root: "/path/to/project",
files: ["main.go", "server.go"],
});
console.log(project.structs);
console.log(project.functions);
AGPL-3.0-only
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
tree-sitterEnvironment{
"local_name": "tree-sitter",
"alias": false,
"peer_metadata": null
} | ^0.25.1 | runtime |
tree-sitter-goEnvironment{
"local_name": "tree-sitter-go",
"alias": false,
"peer_metadata": null
} | ^0.25.0 | runtime |
@0xsarwagya/ontoly-coreEnvironment{
"local_name": "@0xsarwagya/ontoly-core",
"alias": false,
"peer_metadata": null
} | 1.3.4 | runtime |
tsupEnvironment{
"local_name": "tsup",
"alias": false,
"peer_metadata": null
} | ^8.3.5 | development |
vitestEnvironment{
"local_name": "vitest",
"alias": false,
"peer_metadata": null
} | ^3.0.0 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^22.15.3 | development |
Source distribution
{
"shasum": "e5ee814777413fbb135523af07f5dfdb5fb7778a",
"tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-go/-/ontoly-go-1.3.4.tgz",
"fileCount": 7,
"integrity": "sha512-SQiqHAjnZacTm1/7zHfCuyvmRinlfFWK+bL03SiRfALcP5syCR9h5sqvUspvM4QieeGARAZRvHBWKAFDI6Bbww==",
"signatures": [
{
"sig": "MEQCIGvtYehc9SeOEbg/QO3vjomZjQYO1r8jI/uhvtQf/pWfAiAdAWGwuq3/XhUUgr9XtAHLaofugneYz1xoF8fRXAF3TA==",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
},
{
"sig": "MEYCIQCZxUbhvToCBTJ2XEL9cu3GALdicixdLvOl7cD5t9W+JwIhAPydVmp2Z4UfmPA6RFOPiAeSkblKNEp/IBCuZpML0Tub",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"attestations": {
"url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-go@1.3.4",
"provenance": {
"predicateType": "https://slsa.dev/provenance/v1"
}
},
"unpackedSize": 107484
}Observed since 21 Oct, 09:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:6e5c61ca77f57ac8d67c908acd77e1bf11fa4978a43a0f1d7d689f8f558bbf75