From d8b42a2a84c791de6ca67a02d17be4a325c951a4 Mon Sep 17 00:00:00 2001 From: idanoo Date: Sun, 20 Nov 2022 17:36:31 +1300 Subject: [PATCH] Init --- .env.example | 3 +++ .gitignore | 1 + go.mod | 3 +++ main.go | 7 +++++++ 4 files changed, 14 insertions(+) create mode 100644 .env.example create mode 100644 .gitignore create mode 100644 go.mod create mode 100644 main.go diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..c265e5b --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +MATRIX_WEBHOOK_URL= +MATRIX_WEBHOOK_API_KEY= +MATRIX_CHANNEL= diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2eea525 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..d3f908d --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module tinker.nz/idanoo/go-mastodon-matrix-webhooks + +go 1.19 diff --git a/main.go b/main.go new file mode 100644 index 0000000..2f944f8 --- /dev/null +++ b/main.go @@ -0,0 +1,7 @@ +package main + +import "log" + +func main() { + log.Printf("Test") +}