Gocontentful

screenshot of Gocontentful
contentful

An Contentful Entry-Reference Mapper for Go

Overview

gocontentful is a Contentful API code generator for Go. It provides a simplified and idiomatic Go API for performing Content Delivery API (CDA), Content Preview API (CPA), and Content Management API (CMA) operations. The package also includes utility functions for tasks such as RichText conversion, assets handling, and more. Full documentation for gocontentful can be found at foomo.org.

Features

  • Value Objects Generation: gocontentful can create and update a complete set of Value Objects based on the Contentful content model.
  • CDA, CPA, and CMA Support: The package supports all three Contentful API operations and provides a simplified, idiomatic Go API for interacting with them.
  • Automatic Caching and Handling of Updates: gocontentful caches entire spaces and handles updates automatically, simplifying the management and resolution of references.
  • Utility Functions: In addition to API operations, gocontentful provides utility functions for tasks like converting RichText from/to HTML, handling assets, and more.

Summary

gocontentful is a powerful tool for developers working with Go and Contentful. It simplifies the interaction with the Contentful API by providing a convenient and idiomatic Go API. The package includes features like automatic caching, handling of updates, and utility functions for common tasks. With its comprehensive documentation, gocontentful makes it easy to integrate Contentful into your Go applications.

contentful
Contentful

Contentful is a headless content management system (CMS) that provides a flexible and scalable platform for creating, managing, and delivering digital content across multiple channels and devices.