fix #9
8
.idea/.gitignore
vendored
Normal file
8
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
9
.idea/gospt.iml
Normal file
9
.idea/gospt.iml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="Go" enabled="true" />
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/gospt.iml" filepath="$PROJECT_DIR$/.idea/gospt.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
2
main.go
2
main.go
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"gospt/src/cmd"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -10,8 +10,8 @@ import (
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
|
||||
"gospt/src/config"
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/config"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
"github.com/zmb3/spotify/v2"
|
||||
spotifyauth "github.com/zmb3/spotify/v2/auth"
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -8,9 +8,9 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"gospt/src/auth"
|
||||
"gospt/src/config"
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/auth"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/config"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
"github.com/cristalhq/aconfig"
|
||||
"github.com/cristalhq/aconfig/aconfigyaml"
|
||||
|
@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/tui"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/tui"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gospt/src/tui"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/tui"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gospt/src/tui"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/tui"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -14,7 +14,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
"github.com/zmb3/spotify/v2"
|
||||
_ "modernc.org/sqlite"
|
||||
|
@ -1,8 +1,8 @@
|
||||
package tui
|
||||
|
||||
import (
|
||||
"gospt/src/commands"
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
"github.com/zmb3/spotify/v2"
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
|
||||
"github.com/charmbracelet/bubbles/list"
|
||||
)
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
"github.com/atotto/clipboard"
|
||||
"github.com/charmbracelet/bubbles/key"
|
||||
|
@ -3,7 +3,7 @@ package tui
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
"github.com/zmb3/spotify/v2"
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"gospt/src/commands"
|
||||
"gospt/src/gctx"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/commands"
|
||||
"gitea.asdf.cafe/abs3nt/gospt/src/gctx"
|
||||
|
||||
"github.com/charmbracelet/bubbles/list"
|
||||
"github.com/zmb3/spotify/v2"
|
||||
|
Loading…
Reference in New Issue
Block a user