You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://clipperhouse.github.io is perfect for a kV store like boltdb.
The time consuming messy aspects of a kV store is when you need to do lots of transformations on top with an open cursor often.
With gen, it's possible to take your model types and then gen the operations you need to do on the data.
I am NIT suggesting a DSL. Just gen as you need to.
I am looking for advice....
Have you even thought of this ?
Have you even combined gen with go generate ?
There is some merit here.
The text was updated successfully, but these errors were encountered:
Not quite sure I follow (I haven't used BoltDB) but perhaps you are describing something analogous to an ORM? I think it would work for that. gen is about writing things that might be considered boilerplate, where the primary variation is by type.
gen is a nice companion to go generate. Just do something like //go:generate gen, so that gen fits into tooling idiomatically.
There is also a great code gen here called Goa. https://github.com/goadesign/goa.
It also generates the data layer using Gorm, and is very nice.
Its very complete and has its own DSL etc. I am very impressed with it.
Now i am exploring how to generate the web client stuff.
Angular 2 and ionic2 is my choice, as angular also now can do react native.
For this, i am using angular cli. https://github.com/angular/angular-cli
Hey Matt,
https://clipperhouse.github.io is perfect for a kV store like boltdb.
The time consuming messy aspects of a kV store is when you need to do lots of transformations on top with an open cursor often.
With gen, it's possible to take your model types and then gen the operations you need to do on the data.
I am NIT suggesting a DSL. Just gen as you need to.
I am looking for advice....
Have you even thought of this ?
Have you even combined gen with go generate ?
There is some merit here.
The text was updated successfully, but these errors were encountered: