🚚 Rename module

This commit is contained in:
Dan Jones 2023-08-27 12:10:18 -05:00
commit c845d08293
5 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@ package cmd
import ( import (
"fmt" "fmt"
"codeberg.org/danjones000/mpc-plus/mpd" "codeberg.org/danjones000/mpc-extra/mpd"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View file

@ -6,7 +6,7 @@ package cmd
import ( import (
"fmt" "fmt"
"codeberg.org/danjones000/mpc-plus/mpd" "codeberg.org/danjones000/mpc-extra/mpd"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View file

@ -14,7 +14,7 @@ import (
// rootCmd represents the base command when called without any subcommands // rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{ var rootCmd = &cobra.Command{
Use: "mpc-plus", Use: "mpc-extra",
Short: "A brief description of your application", Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example: examples and usage of using your application. For example:
@ -41,7 +41,7 @@ func init() {
// Cobra supports persistent flags, which, if defined here, // Cobra supports persistent flags, which, if defined here,
// will be global for your application. // will be global for your application.
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.mpc-plus.yaml)") // rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.mpc-extra.yaml)")
// Cobra also supports local flags, which will only run // Cobra also supports local flags, which will only run
// when this action is called directly. // when this action is called directly.

2
go.mod
View file

@ -1,4 +1,4 @@
module codeberg.org/danjones000/mpc-plus module codeberg.org/danjones000/mpc-extra
go 1.20 go 1.20

View file

@ -4,8 +4,8 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
package main package main
import ( import (
"codeberg.org/danjones000/mpc-plus/cmd" "codeberg.org/danjones000/mpc-extra/cmd"
"codeberg.org/danjones000/mpc-plus/mpd" "codeberg.org/danjones000/mpc-extra/mpd"
) )
func main() { func main() {