Rename module and add justfile

This commit is contained in:
Gabriel Garrido 2024-05-11 16:45:54 +02:00
parent ce8cd99ce4
commit f38364896a
5 changed files with 12 additions and 5 deletions

View file

@ -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"
)

7
go.mod
View file

@ -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

2
go.sum
View file

@ -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=

2
justfile Normal file
View file

@ -0,0 +1,2 @@
build:
go build main.go

View file

@ -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"
)