From ddd646da32c3c15639e5227716afd0db3bd630f6 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Fri, 22 May 2020 19:16:19 -0700 Subject: [PATCH] Added plugins --- README.md | 5 +++++ cmd/mock/plugin.go | 3 +++ go.mod | 2 +- go.sum | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 README.md create mode 100644 cmd/mock/plugin.go diff --git a/README.md b/README.md new file mode 100644 index 0000000..58288fa --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# cchat-mock + +```sh +go build -buildmode=plugin -o ~/.config/cchat/plugins/ ./cmd/mock/ +``` diff --git a/cmd/mock/plugin.go b/cmd/mock/plugin.go new file mode 100644 index 0000000..703417a --- /dev/null +++ b/cmd/mock/plugin.go @@ -0,0 +1,3 @@ +package main + +import _ "github.com/diamondburned/cchat-mock" diff --git a/go.mod b/go.mod index eb40976..056bd38 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.14 require ( github.com/Pallinder/go-randomdata v1.2.0 - github.com/diamondburned/cchat v0.0.6 + github.com/diamondburned/cchat v0.0.7 ) diff --git a/go.sum b/go.sum index 8e356b7..46fb0cb 100644 --- a/go.sum +++ b/go.sum @@ -12,4 +12,6 @@ github.com/diamondburned/cchat v0.0.5 h1:g0+569jnFqx4euNsqjurqjAY+xxG5n8kmGnDRwA github.com/diamondburned/cchat v0.0.5/go.mod h1:2MdhWABRer4WhwcuLR0b2VY5S22Y1zDTpFqriAFrC08= github.com/diamondburned/cchat v0.0.6 h1:lSIgbxT7C8uSka0wqLl/5kc/8rgsYDfZGxaU346XNeU= github.com/diamondburned/cchat v0.0.6/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU= +github.com/diamondburned/cchat v0.0.7 h1:y5zbEoD6L8YHuN/yclqjokF0lPkRj5tYWOuJe0bBldI= +github.com/diamondburned/cchat v0.0.7/go.mod h1:+zXktogE45A0om4fT6B/z6Ii7FXNafjxsNspI0rlhbU= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=