Categorygithub.com/dryaf/headless_cms
modulepackage
0.2.0
Repository: https://github.com/dryaf/headless_cms.git
Documentation: pkg.go.dev

# README

License Coverage Go Report Card GoDoc

Headless CMS Go Client

A Go client for the Storyblok Headless CMS API.

Implemented SaaS providers: [x] storyblok.com [ ] contentful.com

Features

  • Fetches data from Storyblok API
  • Caching support for fetched data (in memory or redis)
  • Request storyblok data in JSON or map[string]any format for complete website generation (see d_block in github.com/dryaf/templates)
  • Requests storyblok data as map[string]map[string]any format where storyblok blocks need to contain an id so then can be accessed in go templates via .Texts.id.value (for simple i18n support in non dynamicly rendered pages)
  • Empty cache with a Token triggered via a webhook by the headless cms provider

License

MIT

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author