mirror of https://gitlab.com/gitlab-org/cli.git
refactor: move pkg/api package to /api
This commit is contained in:
parent
a8ac704ccd
commit
d52c01a482
|
@ -17,7 +17,7 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
|
|
|
@ -11,12 +11,12 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
||||
"github.com/google/shlex"
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
)
|
||||
|
||||
func httpRequest(client *api.Client, config config.Config, hostname string, method string, p string, params interface{}, headers []string) (*http.Response, error) {
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@ import (
|
|||
|
||||
"github.com/AlecAivazis/survey/v2"
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/glinstance"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,10 +6,10 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/glinstance"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/pkg/tableprinter"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -3,9 +3,9 @@ package list
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/ci/ciutils"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
ciTraceCmd "github.com/profclems/glab/commands/ci/trace"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/AlecAivazis/survey/v2"
|
||||
|
|
|
@ -10,10 +10,10 @@ import (
|
|||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/ci/ciutils"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/AlecAivazis/survey/v2"
|
||||
|
|
|
@ -11,10 +11,10 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/ci/ciutils"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
|
|
|
@ -11,8 +11,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -5,11 +5,11 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glinstance"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"github.com/profclems/glab/commands/cmdutils"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
|
||||
"github.com/AlecAivazis/survey/v2"
|
||||
"github.com/gdamore/tcell/v2"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/rivo/tview"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@ import (
|
|||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/AlecAivazis/survey/v2"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -13,8 +13,8 @@ import (
|
|||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"golang.org/x/sync/errgroup"
|
||||
|
||||
"github.com/profclems/glab/pkg/tableprinter"
|
||||
|
|
|
@ -9,9 +9,9 @@ import (
|
|||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -15,10 +15,10 @@ import (
|
|||
|
||||
"github.com/alecthomas/assert"
|
||||
"github.com/google/shlex"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
"github.com/profclems/glab/test"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -10,11 +10,11 @@ import (
|
|||
|
||||
"github.com/alecthomas/assert"
|
||||
"github.com/google/shlex"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/profclems/glab/test"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -11,8 +11,8 @@ import (
|
|||
"github.com/google/shlex"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
|
|
|
@ -11,11 +11,11 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/run"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
mainTest "github.com/profclems/glab/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -3,8 +3,8 @@ package approvers
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/tableprinter"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
|
|
|
@ -6,10 +6,10 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/tcnksm/go-gitconfig"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -14,10 +14,10 @@ import (
|
|||
"github.com/profclems/glab/internal/glrepo"
|
||||
|
||||
"github.com/AlecAivazis/survey/v2"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -16,11 +16,11 @@ import (
|
|||
"github.com/profclems/glab/pkg/prompt"
|
||||
|
||||
"github.com/google/shlex"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
"github.com/profclems/glab/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -12,8 +12,8 @@ import (
|
|||
"github.com/profclems/glab/internal/config"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
||||
"github.com/google/shlex"
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"github.com/profclems/glab/internal/git"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/issue/issueutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@ import (
|
|||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -15,10 +15,10 @@ import (
|
|||
|
||||
"github.com/alecthomas/assert"
|
||||
"github.com/google/shlex"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
"github.com/profclems/glab/test"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/profclems/glab/pkg/tableprinter"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -10,12 +10,12 @@ import (
|
|||
|
||||
"github.com/alecthomas/assert"
|
||||
"github.com/google/shlex"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/profclems/glab/test"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -3,9 +3,9 @@ package reopen
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -11,10 +11,10 @@ import (
|
|||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
@ -11,9 +11,9 @@ import (
|
|||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/spf13/cobra"
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/mr/mrutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
|
|
|
@ -11,9 +11,9 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
||||
|
|
|
@ -8,12 +8,12 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glinstance"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -8,12 +8,12 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/config"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/internal/run"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -3,7 +3,7 @@ package list
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/api"
|
||||
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/commands/release/releaseutils"
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
"github.com/google/shlex"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
cmdTestUtils "github.com/profclems/glab/commands/cmdtest"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
|
||||
"github.com/acarl005/stripansi"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/utils"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
"github.com/profclems/glab/pkg/iostreams"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -9,9 +9,9 @@ import (
|
|||
|
||||
"github.com/alecthomas/assert"
|
||||
"github.com/google/shlex"
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/commands/cmdutils"
|
||||
"github.com/profclems/glab/internal/glrepo"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/httpmock"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
)
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/profclems/glab/api"
|
||||
"github.com/profclems/glab/internal/git"
|
||||
"github.com/profclems/glab/pkg/api"
|
||||
"github.com/profclems/glab/pkg/prompt"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xanzy/go-gitlab"
|
||||
|
|
Loading…
Reference in New Issue