marcgrol / golangannotations Goto Github PK
View Code? Open in Web Editor NEWGo package that provides annotations for golang to speedup web development
License: MIT License
Go package that provides annotations for golang to speedup web development
License: MIT License
Does this actually support go modules? I tried to generate code on a small POC to try this out but ran into the error below when I ran golangAnnotations -input-dir .
in directory containing my service.go
file:
Error generating module event: Code /Users/username/code/cmd/accounts/service lives outside GOPATH:/Users/username/go
Hi there,
Love the idea. The README points to generated examples, but they are 404 on Github. Mind checking in those links so that people can see? (or fix the links)
Hey team,
I'm using annotationParser.ParseSourceDir()
to parse a file into a model. I've noticed that function argument comments (model.Field.DocLines
and model.Field.CommentsLines
) are always empty. I've done some debugging and saw that ast
model function argument comments are empty too.
This is a known issue: golang/go#35484
They suggest using ast.NewCommentMap()
to load the function argument comments: https://go.dev/play/p/zDcLxXqTk0
Thanks!
This is more of a feature request or an open question about whether or not a client lib generator for typescript exists or is planned; similar to what is provided by https://github.com/webrpc/webrpc. My preference to this project over webrpc is that it is a code-first approach rather than a schema-first approach. However, it appears that the developer must create the client-side web library in order to communicate with the backend smoothly.
Hi Marc,
Love what you're doing here. Could you add a license file to this project?
Thanks!
First of all thanks a million for taking the time to write this awesome go library. I wanted to ask if this is production ready.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.