From f38364896ad755ee68af68f805f827d8e1061e39 Mon Sep 17 00:00:00 2001 From: Gabriel Garrido Date: Sat, 11 May 2024 16:45:54 +0200 Subject: [PATCH] Rename module and add justfile --- files/files.go | 2 +- go.mod | 7 +++++-- go.sum | 2 ++ justfile | 2 ++ main.go | 4 ++-- 5 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 justfile diff --git a/files/files.go b/files/files.go index d7c76d9..e3e9761 100644 --- a/files/files.go +++ b/files/files.go @@ -9,7 +9,7 @@ import ( "path/filepath" "text/template" - "git.garrido.io/gabriel/mastodon-pesos/client" + "git.garrido.io/gabriel/mastodon-markdown-archive/client" md "github.com/JohannesKaufmann/html-to-markdown" ) diff --git a/go.mod b/go.mod index a1ca22f..43c606f 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,11 @@ -module git.garrido.io/gabriel/mastodon-pesos +module git.garrido.io/gabriel/mastodon-markdown-archive go 1.21.6 -require github.com/JohannesKaufmann/html-to-markdown v1.5.0 +require ( + git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497 + github.com/JohannesKaufmann/html-to-markdown v1.5.0 +) require ( github.com/PuerkitoBio/goquery v1.8.1 // indirect diff --git a/go.sum b/go.sum index 72f9dbb..4c10e02 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497 h1:a03PrbowfyEzn7LPyhayBUxNm/q2OsDch7aRMGEm9TE= +git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497/go.mod h1:zfOCfHvq332clJWQo+OYacxL838gKW/kozow0f5AIx0= github.com/JohannesKaufmann/html-to-markdown v1.5.0 h1:cEAcqpxk0hUJOXEVGrgILGW76d1GpyGY7PCnAaWQyAI= github.com/JohannesKaufmann/html-to-markdown v1.5.0/go.mod h1:QTO/aTyEDukulzu269jY0xiHeAGsNxmuUBo2Q0hPsK8= github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= diff --git a/justfile b/justfile new file mode 100644 index 0000000..906f333 --- /dev/null +++ b/justfile @@ -0,0 +1,2 @@ +build: + go build main.go diff --git a/main.go b/main.go index 3bd6e41..326812a 100644 --- a/main.go +++ b/main.go @@ -3,8 +3,8 @@ package main import ( "flag" "fmt" - "git.garrido.io/gabriel/mastodon-pesos/client" - "git.garrido.io/gabriel/mastodon-pesos/files" + "git.garrido.io/gabriel/mastodon-markdown-archive/client" + "git.garrido.io/gabriel/mastodon-markdown-archive/files" "log" "os" )