This commit is contained in:
Arya 2023-06-25 00:11:11 +05:30
parent a4eb13cdac
commit a1c229e107
Signed by: arya
GPG Key ID: 842D12BDA50DF120
3 changed files with 66 additions and 65 deletions

View File

@ -1,9 +1,9 @@
package cmd package cmd
import ( import (
"github.com/spf13/cobra"
"codeberg.org/aryak/simplytranslate/utils" "codeberg.org/aryak/simplytranslate/utils"
"fmt" "fmt"
"github.com/spf13/cobra"
) )
var engine string var engine string

View File

@ -1,11 +1,12 @@
package utils package utils
import ( import (
"fmt"
"github.com/gocolly/colly" "github.com/gocolly/colly"
"os" "os"
"fmt"
"strings" "strings"
) )
type List struct { type List struct {
Name string Name string
Id string Id string

View File

@ -1,8 +1,8 @@
package utils package utils
import ( import (
"github.com/tidwall/gjson"
"bytes" "bytes"
"github.com/tidwall/gjson"
"io" "io"
"net/http" "net/http"
"os" "os"