{"id":16766110,"url":"https://github.com/jhump/gopoet","last_synced_at":"2025-08-01T19:31:48.798Z","repository":{"id":33827638,"uuid":"135475268","full_name":"jhump/gopoet","owner":"jhump","description":"A Go API for generating .go source files","archived":false,"fork":false,"pushed_at":"2022-07-12T15:26:00.000Z","size":76,"stargazers_count":24,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-31T18:34:48.719Z","etag":null,"topics":["codegeneration","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhump.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":"2018-05-30T17:18:39.000Z","updated_at":"2024-04-05T00:56:22.000Z","dependencies_parsed_at":"2022-08-17T20:45:35.110Z","dependency_job_id":null,"html_url":"https://github.com/jhump/gopoet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jhump/gopoet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhump%2Fgopoet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhump%2Fgopoet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhump%2Fgopoet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhump%2Fgopoet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhump","download_url":"https://codeload.github.com/jhump/gopoet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhump%2Fgopoet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268285749,"owners_count":24225784,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["codegeneration","go","golang"],"created_at":"2024-10-13T06:05:24.807Z","updated_at":"2025-08-01T19:31:48.763Z","avatar_url":"https://github.com/jhump.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Poet\n[![Build Status](https://travis-ci.com/jhump/gopoet.svg?branch=master)](https://travis-ci.com/github/jhump/gopoet/branches)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jhump/gopoet)](https://goreportcard.com/report/github.com/jhump/gopoet)\n[![GoDoc](https://godoc.org/github.com/jhump/gopoet?status.svg)](https://godoc.org/github.com/jhump/gopoet)\n\n\nThis library was inspired by [Java Poet](https://github.com/square/javapoet), as a library that provides\na simple language model for generating Go code.\n\nThe model it provides is much simpler than the model exposed by `go/ast` and `go/types`, both in its\nexpressive power and in its usability. It cannot model implementation code, which is handled in the\nlibrary with special support for formatting (a la `fmt.Printf`) references to symbols and types. This\nsupport allows it to provide automatic management of import statements: so you just build the model of\nthe program to generate, and it will emit the program with all of the necessary imports and properly\nqualified references in the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhump%2Fgopoet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhump%2Fgopoet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhump%2Fgopoet/lists"}