🚚 Rename project to lenore

This commit is contained in:
Dan Jones 2023-03-25 20:42:54 -05:00
commit 12fd475ee3
6 changed files with 8 additions and 8 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
gopub
lenore

View file

@ -1,7 +1,7 @@
package commands
import (
"codeberg.org/danjones000/gopub/config"
"codeberg.org/danjones000/lenore/config"
"github.com/gofiber/fiber/v2"
"github.com/spf13/cobra"
"log"
@ -33,7 +33,7 @@ func app(cmd *cobra.Command, args []string) {
var AppCmd = &cobra.Command{
Use: "app",
Short: "Run the gopub webapp",
Short: "Run the lenore webapp",
Long: `This is the main command. This will start the application, and keep it running.
You may want to run this from something like supervisor or systemd`,
Run: app,

View file

@ -8,8 +8,8 @@ import (
)
var rootCmd = &cobra.Command{
Use: "gopub",
Short: "gopub is a single-user ActivityPub instance",
Use: "lenore",
Short: "lenore is a single-user ActivityPub instance",
Long: "...",
}

View file

@ -66,7 +66,7 @@ func newConfig() Config {
func init() {
config = newConfig()
configPath := configdir.LocalConfig("gopub")
configPath := configdir.LocalConfig("lenore")
if err := configdir.MakePath(configPath); err != nil {
panic(err)
}

2
go.mod
View file

@ -1,4 +1,4 @@
module codeberg.org/danjones000/gopub
module codeberg.org/danjones000/lenore
go 1.19

View file

@ -1,7 +1,7 @@
package main
import (
"codeberg.org/danjones000/gopub/commands"
"codeberg.org/danjones000/lenore/commands"
)
func main() {