ghaoo / rboot Goto Github PK
View Code? Open in Web Editor NEWRboot 是一个Go语言开发的一个简单、高效的 Chatops bot 框架
License: MIT License
Rboot 是一个Go语言开发的一个简单、高效的 Chatops bot 框架
License: MIT License
github.com/ghaoo/rboot/memorizer
这个库不存在
panic: Detect brain error: no Brain available
具体怎么用,有再详细点的介绍吗
我的电脑是CentOS Linux release 7.5.1804 (Core) ,golang 版本为:1.13.11-1.el7,执行go build 后,显示下面的错误:
go: github.com/kr/[email protected]: reading github.com/kr/pretty/go.mod at revision v0.2.0: unknown revision v0.2.0
github.com/ghaoo/rboot/memorizer
可以集成企业微信,网页微信不稳定
配置了.env 文件不生效
脚本类型的插件怎么支持获取用户传入参数呢?
看了一下注册的脚本的runcommand方法.参数是从yaml文件中获取的.也就是只能写死在yaml文件中.
能否象plugin一样从 incoming message["args"] 中获取呢
请问一下,我想执行脚本的时候传参数,有没有办法实现呢。接受消息的时候有没有办法吧参数接受过来呢
看文档说明支持钉钉,但是没有具体说如何配置,请问要如何对接到钉钉
The go-yaml/yaml
has already renamed it’s import path from "github.com/go-yaml/yaml" to "gopkg.in/yaml.v2".
As README of go-yaml/yaml
v2.1.0 said, downstream repos should use "gopkg.in/yaml.v2" to get or import go-yaml/yaml
.
Example
Some more examples can be found in the "examples" folder.
package main
import (
"fmt"
"log"
"gopkg.in/yaml.v2"
)
…
But ghaoo/rboot
still used the old path:
https://github.com/ghaoo/rboot/blob/master/go.mod#L11
github.com/go-yaml/yaml v2.1.0+incompatible
When you use the old path "github.com/go-yaml/yaml" to import the go-yaml/yaml
, it will be very easy to reintroduce go-yaml/yaml
through the import statements "import gopkg.in/yaml.v2" in the go source file of go-yaml/yaml
.
https://github.com/go-yaml/yaml/blob/v2.1.0/decode_test.go#L12
package yaml_test
import (
…
. "gopkg.in/check.v1"
"gopkg.in/yaml.v2"
)
The "gopkg.in/yaml.v2" and "github.com/go-yaml/yaml" are the same repos. This will work in isolation, bring about potential risks and problems.
So, why not get rid of the old import path "github.com/go-yaml/yaml", use "gopkg.in/yaml.v2" instead.
Replace all the old import paths, change "github.com/go-yaml/yaml"
to "gopkg.in/yaml.v2"
.
Where did you import it: https://github.com/ghaoo/rboot/search?q=github.com%2Fgo-yaml%2Fyaml&unscoped_q=github.com%2Fgo-yaml%2Fyaml
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.