forj-oss / goforjj Goto Github PK
View Code? Open in Web Editor NEWA go module to facilitate building a FORJJ plugin
License: Other
A go module to facilitate building a FORJJ plugin
License: Other
forjj through goforjj use <plugin>.yaml: /plugin: <value>
to connect to the proper socket.
If we created a new plugin with a wrong name, the cli.go is generated and will never be updated if we do not remove it, before a go generate
So, even if we change <plugin>.yaml
, forjj will take care of it, but not the plugin until we change manually the cli.go in load_plugin_def
function
We need forjj and plugins to be more coherent.
The rule should be:
<plugin>.yaml: /runtime/serviice/socket:<value>
is set, use it in both forjj
and the plugin
.<plugin>.yaml: /plugin: <value>
in both forjj
and the plugin
.When forjj get plugin definition, it provides the value (from Forjfile or cli), or a default value defined by the plugin.
Sometimes, those fields requires to be filtered so update the value to something acceptable by the plugin.
This is not a syntax verification which is normally already implemented through RegExp.
Filter example:
This way, the filter is applied by forjj as defined by the plugin and do not require to update the plugin and simplify it.
Applied to plugins or core
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.