-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathutils.go
40 lines (37 loc) · 1.41 KB
/
utils.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
// Copyright 2019 mlvzk
// This file is part of the piko library.
//
// The piko library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The piko library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the piko library. If not, see <http://www.gnu.org/licenses/>.
package piko
import (
"github.com/mlvzk/piko/service"
"github.com/mlvzk/piko/service/facebook"
"github.com/mlvzk/piko/service/fourchan"
"github.com/mlvzk/piko/service/imgur"
"github.com/mlvzk/piko/service/instagram"
"github.com/mlvzk/piko/service/soundcloud"
"github.com/mlvzk/piko/service/twitter"
"github.com/mlvzk/piko/service/youtube"
)
func GetAllServices() []service.Service {
return []service.Service{
youtube.New(),
imgur.New(),
instagram.New(),
fourchan.New(),
soundcloud.New("a3e059563d7fd3372b49b37f00a00bcf"),
twitter.New("AAAAAAAAAAAAAAAAAAAAAIK1zgAAAAAA2tUWuhGZ2JceoId5GwYWU5GspY4%3DUq7gzFoCZs1QfwGoVdvSac3IniczZEYXIcDyumCauIXpcAPorE"),
facebook.New(),
}
}