Use go modules

This commit is contained in:
Pijus Kamandulis
2020-04-12 03:22:00 +03:00
parent 0a08f62dfe
commit 70c3faf17e
28 changed files with 92 additions and 68 deletions

View File

@@ -10,9 +10,9 @@ import (
"github.com/chromedp/chromedp"
config "../models/config"
utils "../utils"
log "../utils/log"
config "github.com/pikami/tiktok-dl/models/config"
utils "github.com/pikami/tiktok-dl/utils"
log "github.com/pikami/tiktok-dl/utils/log"
)
// GetMusicUploads - Get all uploads by given music

View File

@@ -3,8 +3,8 @@ package client
import (
"fmt"
models "../models"
config "../models/config"
models "github.com/pikami/tiktok-dl/models"
config "github.com/pikami/tiktok-dl/models/config"
)
// GetHashtagUploads - Get all uploads marked with given hashtag

View File

@@ -3,8 +3,8 @@ package client
import (
"fmt"
models "../models"
config "../models/config"
models "github.com/pikami/tiktok-dl/models"
config "github.com/pikami/tiktok-dl/models/config"
)
// GetMusicUploads - Get all uploads by given music

View File

@@ -8,8 +8,8 @@ import (
"github.com/chromedp/chromedp"
config "../models/config"
log "../utils/log"
config "github.com/pikami/tiktok-dl/models/config"
log "github.com/pikami/tiktok-dl/utils/log"
)
// GetRedirectURL - Returns URL that the given URL redirects to

View File

@@ -3,8 +3,8 @@ package client
import (
"fmt"
models "../models"
config "../models/config"
models "github.com/pikami/tiktok-dl/models"
config "github.com/pikami/tiktok-dl/models/config"
)
// GetUserUploads - Get all uploads by user

View File

@@ -1,7 +1,7 @@
package client
import (
models "../models"
models "github.com/pikami/tiktok-dl/models"
)
// GetVideoDetails - returns details of video