Skip to content

Commit 48e0a84

Browse files
committed
Removed Gob
1 parent ce0bed9 commit 48e0a84

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

main.go

-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ import (
44
"OwlGramServer/consts"
55
"OwlGramServer/crowdin"
66
"OwlGramServer/emoji"
7-
"OwlGramServer/emoji/emojipedia/types"
87
"OwlGramServer/gopy"
98
"OwlGramServer/http/webserver"
109
"OwlGramServer/telegram/bot"
1110
"OwlGramServer/telegram/checker"
1211
"OwlGramServer/updates"
1312
"OwlGramServer/utilities"
14-
"encoding/gob"
1513
"os"
1614
"os/exec"
1715
)
@@ -24,8 +22,6 @@ var emojiClient *emoji.Context
2422
var pythonClient *gopy.Context
2523

2624
func main() {
27-
gob.Register([]*types.ProviderDescriptor{})
28-
gob.Register([]byte{})
2925
consts.LoadEnv()
3026
if _, err := os.Stat(consts.UploadsFolder); os.IsNotExist(err) {
3127
_ = os.Mkdir(consts.UploadsFolder, 0775)

0 commit comments

Comments
 (0)