🚚 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 package commands
import ( import (
"codeberg.org/danjones000/gopub/config" "codeberg.org/danjones000/lenore/config"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"log" "log"
@ -33,7 +33,7 @@ func app(cmd *cobra.Command, args []string) {
var AppCmd = &cobra.Command{ var AppCmd = &cobra.Command{
Use: "app", 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. 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`, You may want to run this from something like supervisor or systemd`,
Run: app, Run: app,

View file

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

View file

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

2
go.mod
View file

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

View file

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