# go-contentful-generator **Repository Path**: mirrors_dave/go-contentful-generator ## Basic Information - **Project Name**: go-contentful-generator - **Description**: A client SDK generator for contentful - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-contentful-generator generate a complete contentful SDK client from your existing schema ## Installation ``` go get -u github.com/nicolai86/go-contentful-generator ``` ## Examples See the test folder for an example usage as well as an example client. ## Usage first, export the necessary credentials into your env: ``` $ export CONTENTFUL_SPACE_ID=awesome-space $ export CONTENTFUL_AUTH_TOKEN=secret-token ``` the `CONTENTFUL_AUTH_TOKEN` has to be for the [CMA](https://www.contentful.com/developers/docs/references/authentication/#). Then generate your package: ``` $ go-contentful-generator -pkg contentful -o contentful.go ``` Or, you can use a go-generate flag like this: ``` //go:generate go-contentful-generator -pkg main -o contentful.go ``` ## TODO - [ ] multi-language schema - [ ] tests