How do you make a package do things #107
-
I read the docs / skimmed and I want to contribute but I just really don't understand how the actual bud project is structured, or how plugins are supposed to be written. Some help would be great because this project is really cool and I want to add to it and make it a full featured full stack framework similar to rails. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @zeventhal! Thanks for your interest in the project! I definitely need to get more architecture posts up, but for now I recommend having a look at how the compiler works in here: #18 Then hop over to the Contributing Guide, clone the project and just start playing around. It all starts from the project's root Additional details:
(Warning: The above details may change as the project progresses. I'm about 70% happy with the directory structure right now) |
Beta Was this translation helpful? Give feedback.
Hey @zeventhal! Thanks for your interest in the project! I definitely need to get more architecture posts up, but for now I recommend having a look at how the compiler works in here: #18
Then hop over to the Contributing Guide, clone the project and just start playing around. It all starts from the project's root
main.go
file, so you can start from there and start exploring.Additional details:
internal/
: contains internal packages that don't need to be access by the generated project.packages/
: generic packages that aren't really tied to Bud itself and could be their own Go Module.runtime/
packages needed by the generated code.livebud/
runtime equivalent on the Javascript side.(War…