{"id":19900630,"url":"https://github.com/gobuffalo/here","last_synced_at":"2025-06-18T02:35:27.595Z","repository":{"id":36442176,"uuid":"192119245","full_name":"gobuffalo/here","owner":"gobuffalo","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-01T21:03:36.000Z","size":45,"stargazers_count":16,"open_issues_count":2,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-02T23:35:32.030Z","etag":null,"topics":["go","golang"],"latest_commit_sha":null,"homepage":"","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/gobuffalo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"markbates","patreon":"buffalo"}},"created_at":"2019-06-15T20:02:05.000Z","updated_at":"2024-03-03T13:23:29.000Z","dependencies_parsed_at":"2024-06-18T16:53:03.441Z","dependency_job_id":null,"html_url":"https://github.com/gobuffalo/here","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/gobuffalo/here","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gobuffalo","download_url":"https://codeload.github.com/gobuffalo/here/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fhere/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260474911,"owners_count":23014792,"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":["go","golang"],"created_at":"2024-11-12T20:12:48.472Z","updated_at":"2025-06-18T02:35:22.582Z","avatar_url":"https://github.com/gobuffalo.png","language":"Go","funding_links":["https://github.com/sponsors/markbates","https://patreon.com/buffalo"],"categories":[],"sub_categories":[],"readme":"# Here\n\n[![](https://github.com/gobuffalo/here/workflows/Tests/badge.svg)](https://github.com/gobuffalo/here/actions)\n[![GoDoc](https://godoc.org/github.com/gobuffalo/here?status.svg)](https://godoc.org/github.com/gobuffalo/here)\n\nHere will get you **accurate** Go information about the directory of package requested.\n\n### Requirements\n\n* Go 1.13+\n* Go Modules\n\n## CLI\n\nWhile you can use the tool via its API, you can also use the CLI to get a JSON version of the data.\n\n### Installation\n\n```bash\n$ go get github.com/gobuffalo/here/cmd/here\n```\n\n### Usage\n\n#### Default\n\n```bash\n$ here\n\n{\n  \"Dir\": \"$GOPATH/src/github.com/gobuffalo/here\",\n  \"ImportPath\": \"github.com/gobuffalo/here\",\n  \"Name\": \"here\",\n  \"Doc\": \"\",\n  \"Target\": \"$GOPATH/pkg/darwin_amd64/github.com/gobuffalo/here.a\",\n  \"Root\": \"$GOPATH\",\n  \"Match\": [\n    \".\"\n  ],\n  \"Stale\": true,\n  \"StaleReason\": \"not installed but available in build cache\",\n  \"GoFiles\": [\n    \"current.go\",\n    \"dir.go\",\n    \"here.go\",\n    \"info.go\",\n    \"info_map.go\",\n    \"module.go\",\n    \"pkg.go\",\n    \"version.go\"\n  ],\n  \"Imports\": [\n    \"bytes\",\n    \"encoding/json\",\n    \"fmt\",\n    \"os\",\n    \"os/exec\",\n    \"path/filepath\",\n    \"regexp\",\n    \"sync\"\n  ],\n  \"Deps\": [\n    \"bytes\",\n    \"context\",\n    \"encoding\",\n    \"encoding/base64\",\n    \"encoding/binary\",\n    \"encoding/json\",\n    \"errors\",\n    \"fmt\",\n    \"internal/bytealg\",\n    \"internal/cpu\",\n    \"internal/fmtsort\",\n    \"internal/oserror\",\n    \"internal/poll\",\n    \"internal/race\",\n    \"internal/reflectlite\",\n    \"internal/syscall/unix\",\n    \"internal/testlog\",\n    \"io\",\n    \"math\",\n    \"math/bits\",\n    \"os\",\n    \"os/exec\",\n    \"path/filepath\",\n    \"reflect\",\n    \"regexp\",\n    \"regexp/syntax\",\n    \"runtime\",\n    \"runtime/internal/atomic\",\n    \"runtime/internal/math\",\n    \"runtime/internal/sys\",\n    \"sort\",\n    \"strconv\",\n    \"strings\",\n    \"sync\",\n    \"sync/atomic\",\n    \"syscall\",\n    \"time\",\n    \"unicode\",\n    \"unicode/utf16\",\n    \"unicode/utf8\",\n    \"unsafe\"\n  ],\n  \"TestGoFiles\": [\n    \"current_test.go\",\n    \"dir_test.go\",\n    \"here_test.go\",\n    \"info_test.go\",\n    \"module_test.go\",\n    \"pkg_test.go\"\n  ],\n  \"TestImports\": [\n    \"github.com/stretchr/testify/require\",\n    \"os\",\n    \"path/filepath\",\n    \"testing\"\n  ],\n  \"Module\": {\n    \"Path\": \"github.com/gobuffalo/here\",\n    \"Main\": true,\n    \"Dir\": \"$GOPATH/src/github.com/gobuffalo/here\",\n    \"GoMod\": \"$GOPATH/src/github.com/gobuffalo/here/go.mod\",\n    \"GoVersion\": \"1.13\"\n  }\n}\n```\n\n#### By Directory\n\n```bash\n$ here cmd/here\n\n{\n  \"Dir\": \"$GOPATH/src/github.com/gobuffalo/here/cmd/here\",\n  \"ImportPath\": \"github.com/gobuffalo/here/cmd/here\",\n  \"Name\": \"main\",\n  \"Doc\": \"\",\n  \"Target\": \"$GOPATH/bin/here\",\n  \"Root\": \"$GOPATH\",\n  \"Match\": [\n    \".\"\n  ],\n  \"Stale\": false,\n  \"StaleReason\": \"\",\n  \"GoFiles\": [\n    \"main.go\"\n  ],\n  \"Imports\": [\n    \"fmt\",\n    \"github.com/gobuffalo/here\",\n    \"log\",\n    \"os\",\n    \"os/exec\"\n  ],\n  \"Deps\": [\n    \"bytes\",\n    \"context\",\n    \"encoding\",\n    \"encoding/base64\",\n    \"encoding/binary\",\n    \"encoding/json\",\n    \"errors\",\n    \"fmt\",\n    \"github.com/gobuffalo/here\",\n    \"internal/bytealg\",\n    \"internal/cpu\",\n    \"internal/fmtsort\",\n    \"internal/oserror\",\n    \"internal/poll\",\n    \"internal/race\",\n    \"internal/reflectlite\",\n    \"internal/syscall/unix\",\n    \"internal/testlog\",\n    \"io\",\n    \"log\",\n    \"math\",\n    \"math/bits\",\n    \"os\",\n    \"os/exec\",\n    \"path/filepath\",\n    \"reflect\",\n    \"regexp\",\n    \"regexp/syntax\",\n    \"runtime\",\n    \"runtime/internal/atomic\",\n    \"runtime/internal/math\",\n    \"runtime/internal/sys\",\n    \"sort\",\n    \"strconv\",\n    \"strings\",\n    \"sync\",\n    \"sync/atomic\",\n    \"syscall\",\n    \"time\",\n    \"unicode\",\n    \"unicode/utf16\",\n    \"unicode/utf8\",\n    \"unsafe\"\n  ],\n  \"TestGoFiles\": null,\n  \"TestImports\": null,\n  \"Module\": {\n    \"Path\": \"github.com/gobuffalo/here\",\n    \"Main\": true,\n    \"Dir\": \"$GOPATH/src/github.com/gobuffalo/here\",\n    \"GoMod\": \"$GOPATH/src/github.com/gobuffalo/here/go.mod\",\n    \"GoVersion\": \"1.13\"\n  }\n}\n```\n\n#### By Package\n\n```bash\n$ here pkg github.com/gobuffalo/genny\n\n{\n  \"Dir\": \"$GOPATH/pkg/mod/github.com/gobuffalo/genny@v0.4.1\",\n  \"ImportPath\": \"github.com/gobuffalo/genny\",\n  \"Name\": \"genny\",\n  \"Doc\": \"Package genny is a _framework_ for writing modular generators, it however, doesn't actually generate anything.\",\n  \"Target\": \"\",\n  \"Root\": \"$GOPATH/pkg/mod/github.com/gobuffalo/genny@v0.4.1\",\n  \"Match\": [\n    \"github.com/gobuffalo/genny\"\n  ],\n  \"Stale\": true,\n  \"StaleReason\": \"build ID mismatch\",\n  \"GoFiles\": [\n    \"confirm.go\",\n    \"dir.go\",\n    \"disk.go\",\n    \"dry_runner.go\",\n    \"events.go\",\n    \"file.go\",\n    \"force.go\",\n    \"generator.go\",\n    \"genny.go\",\n    \"group.go\",\n    \"helpers.go\",\n    \"logger.go\",\n    \"replacer.go\",\n    \"results.go\",\n    \"runner.go\",\n    \"step.go\",\n    \"transformer.go\",\n    \"version.go\",\n    \"wet_runner.go\"\n  ],\n  \"Imports\": null,\n  \"Deps\": null,\n  \"TestGoFiles\": [\n    \"dry_runner_test.go\",\n    \"file_test.go\",\n    \"force_test.go\",\n    \"generator_test.go\",\n    \"genny_test.go\",\n    \"group_test.go\",\n    \"helpers_test.go\",\n    \"replacer_test.go\",\n    \"results_test.go\",\n    \"runner_test.go\",\n    \"step_test.go\",\n    \"transformer_test.go\",\n    \"wet_runner_test.go\"\n  ],\n  \"TestImports\": null,\n  \"Module\": {\n    \"Path\": \"github.com/gobuffalo/genny\",\n    \"Main\": false,\n    \"Dir\": \"$GOPATH/pkg/mod/github.com/gobuffalo/genny@v0.4.1\",\n    \"GoMod\": \"$GOPATH/pkg/mod/cache/download/github.com/gobuffalo/genny/@v/v0.4.1.mod\",\n    \"GoVersion\": \"1.13\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobuffalo%2Fhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgobuffalo%2Fhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobuffalo%2Fhere/lists"}