-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.go
45 lines (37 loc) · 945 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* main
Instagram Bot - autofollow, like, comment dan unfollow not followback (c) Free Angel - [email protected]
please subscribe to my channel :
https://www.youtube.com/channel/UC15iFd0nlfG_tEBrt6Qz1NQ
*/
package main
import (
"fmt"
"os"
"github.com/jimlawless/whereami"
)
func halt() {
CleanUp()
if Instagram != nil {
Instagram.Logout()
}
os.Exit(0)
}
func main() {
fmt.Println("Instagram Bot - autofollow, like, comment dan unfollow not followback (c) free Angel")
fmt.Println("please subscribe to my youtube channel (Newbie Computer) :\n https://www.youtube.com/channel/UCqRqvw9n7Lrh79x3dRDOkDg")
fmt.Println("----------------------------------------\n")
Initialize()
err := load_config(mypath + "config.txt")
if err != nil {
mylog(whereami.WhereAmI(), err)
return
}
err = CreateDir("tmp")
if err != nil {
mylog(whereami.WhereAmI(), err)
return
}
core := new(cCore)
core.Initialize()
core.execute()
}