https://github.com/speakeasy-api/easytemplate-demo
https://github.com/speakeasy-api/easytemplate-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/speakeasy-api/easytemplate-demo
- Owner: speakeasy-api
- Created: 2024-01-21T15:34:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T23:19:39.000Z (4 months ago)
- Last Synced: 2025-03-15T23:56:01.509Z (3 months ago)
- Language: TypeScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# easytemplate-demo
This is a demo project for [easytemplate](https://github.com/speakeasy-api/easytemplate) showing a use case the mimics one of the many online JSON to Go struct converters available.
Giving a glimpse into how easytemplate is used at Speakeasy to generate the SDKs via our generator at [Speakeasy](https://speakeasyapi.dev).
## Usage
To run the demo, clone the repo and run the following command:
```bash
go run main.go
```This will read the `bar.json` file and generate the `bar.go` file in the `out/bar/` directory.