Skip to content

Commit 9506d16

Browse files
committed
Add go-googletrans as submodule
1 parent 6f824a3 commit 9506d16

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Vendor/go-googletrans"]
2+
path = Vendor/go-googletrans
3+
url = https://github.com/Conight/go-googletrans.git

Main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88
"unicode"
99

10-
translator "github.com/Conight/go-googletrans"
10+
translator "go-googletrans"
1111
)
1212

1313
func isNumber(s string) bool {

Vendor/go-googletrans

Submodule go-googletrans added at 5ed8dc6

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
module SubtitleTranslator
1+
module github.com/DnA-IntRicate/SubtitleTranslator
22

33
go 1.18
4-
5-
require github.com/Conight/go-googletrans v0.2.2

go.sum

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)