{"id":37087775,"url":"https://github.com/stackus/gomental","last_synced_at":"2026-01-14T10:47:56.255Z","repository":{"id":57571046,"uuid":"347229079","full_name":"stackus/gomental","owner":"stackus","description":"See mental burden of your code","archived":false,"fork":false,"pushed_at":"2021-03-13T12:10:13.000Z","size":21,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T03:33:45.110Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackus.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":"2021-03-12T23:58:19.000Z","updated_at":"2023-07-25T14:44:18.000Z","dependencies_parsed_at":"2022-09-17T15:42:31.574Z","dependency_job_id":null,"html_url":"https://github.com/stackus/gomental","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/stackus/gomental","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Fgomental","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Fgomental/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Fgomental/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Fgomental/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackus","download_url":"https://codeload.github.com/stackus/gomental/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Fgomental/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:25:19.714Z","status":"ssl_error","status_checked_at":"2026-01-14T10:22:49.371Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-14T10:47:55.507Z","updated_at":"2026-01-14T10:47:56.248Z","avatar_url":"https://github.com/stackus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gomental\n\nGet an idea of the mental burden your code might have, or the mental context it might require. In other words how much \"stuff\" you might need to keep in mind or sift through when working on the code.\n\nRight now, and maybe never, the tool makes no determination of what might be excessive. You'll have to decide that for yourself.\n\n## Installation\n    go get -u github.com/stackus/gomental\n\n## Usage\n\n    Displays details about the golang source at the given path\n    \n    Usage:\n    gomental path [flags]\n    gomental [command]\n    \n    Examples:\n    gomental my_source_path -d 0 --with-tests\n    \n    Available Commands:\n    help        Help about any command\n    version     displays the version\n    \n    Flags:\n    -d, --depth int     Display an entry for all directories \"depth\" directories deep (default 1)\n    -h, --help          help for gomental\n    --no-zero           Ignore golang source free directories\n    -s, --skip strings  Directory names to skip. format: dir,dir\n    --with-tests        Include test files\n\n\n### Example\n Running `gomental ftgogo --no-zero` on the source of [FTGOGO](https://github.com/stackus/ftgogo) displays the following report.\n\n    Path            Packages  Files  Lines  Global Vars  Constants  Interfaces  Structs  Other Types  Methods  Funcs\n    /accounting     6         18     835    7            0          2           34       1            33       23\n    /consumer       6         15     565    7            0          3           18       2            17       18\n    /delivery       5         18     1108   7            15         4           30       7            35       19\n    /kitchen        6         29     1409   8            12         4           59       4            58       31\n    /order          7         41     2308   10           4          7           69       4            100      44\n    /order-history  5         11     796    2            6          2           21       2            17       13\n    /restaurant     6         11     541    4            3          3           14       3            13       12\n    /serviceapis    7         24     664    0            19         0           56       2            53       20\n    /shared-go      9         22     1726   17           6          3           24       6            44       34\n\n### More detailed depth report\n\n    gomental my_source_path -d 3\n\n### Single total report\n\n    gomental my_source_path -d 0\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackus%2Fgomental","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackus%2Fgomental","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackus%2Fgomental/lists"}