# README
Concourse Resource Interface in Go
This repo specifies an opinionated interface for Concourse resources in Go. It simplifies resource implementations, by providing
- Unmarshaling and validating the request from JSON,
- Calling the implementation of the interface, and
- Validating and marshaling the response to JSON.
The interface is generic and expects concrete types for Source
, Version
and Params
. You can add additional validation rules by annotating your types with the ones implemented by go-playground/validator.
For an example that uses this interface, check the Euro Exchange Rates Resource.
# Functions
No description provided by the author
No description provided by the author
NewRootCommand returns a Cobra command with three subcommands (check, get and put), suitable for a Concourse resource.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
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
# Type aliases
No description provided by the author