🚚 Rename project to lenore
This commit is contained in:
parent
213c9f6541
commit
12fd475ee3
6 changed files with 8 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
gopub
|
||||
lenore
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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: "...",
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
2
go.mod
|
|
@ -1,4 +1,4 @@
|
|||
module codeberg.org/danjones000/gopub
|
||||
module codeberg.org/danjones000/lenore
|
||||
|
||||
go 1.19
|
||||
|
||||
|
|
|
|||
2
main.go
2
main.go
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"codeberg.org/danjones000/gopub/commands"
|
||||
"codeberg.org/danjones000/lenore/commands"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Reference in a new issue