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.5 | 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": "e04fcad92a02231dfb063e1f86eeaf7e60e11016",
"tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-go/-/ontoly-go-1.3.5.tgz",
"fileCount": 7,
"integrity": "sha512-kW96mTAsb1woZA0Eb+b9puuos7eP+TAaw0jnGhlZWR7Qyk1RAvumTXB7fQM9vLQbRt9B7UxxL+Pvmo2F4NqJGQ==",
"signatures": [
{
"sig": "MEYCIQCrATYea9mH1wOvMlhKNQYd/bdZUk4HTtcOX6OoyG3onQIhALHvHEN8AIVr7iz6no93uopuCo792QZ9UtuM3zm6qj8N",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
},
{
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
"sig": "MEUCIC6+awVIaQuTrv4k1agSwBwQelhBpbr4/c71TG8/YTOxAiEAqvkoNlq6RkMleBeRKhDGzJ4oz1W8uPG3kWk3TSvQEZc="
}
],
"attestations": {
"url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-go@1.3.5",
"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:559a1f67c03df0deb0f35e0288fd8a052f4462b404dec59d45dd8ae17f2d818c