Skip to content

YuukanOO/ease

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ease : generating the boring stuff

This is an early experimentation, missing a lot of what I have in mind. See my blog post (in French) if you wish to know more.

Motivation

Exposing a service as an HTTP API should be easy. By leveraging minimal annotations and your code types, ease aims to generate the glue code so you can focus on delivering business value.

Instead of generating ease specific code, it only generates code using well maintained packages.

It should also handle the usage of a remote module annotated with ease to integrate it without effort.

Example

The Todo example demonstrates how ease could ease (got it?) the development process. For example, the package todo only contains use cases (defined in service.go) and use go generate to write the needed stuff to expose an HTTP server exposing needed endpoints, instantiating service dependencies as needed without configuring anything by using static analysis.

It also demonstrates how an external module can be integrated easily and added to the generated output.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages