mirror of
https://github.com/adulau/mastodon-markdown-archive.git
synced 2024-12-22 00:26:03 +00:00
Rename module and add justfile
This commit is contained in:
parent
ce8cd99ce4
commit
f38364896a
5 changed files with 12 additions and 5 deletions
|
@ -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
7
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
|
||||
|
|
2
go.sum
2
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=
|
||||
|
|
2
justfile
Normal file
2
justfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
build:
|
||||
go build main.go
|
4
main.go
4
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"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue