cmd/madon.go
changeset 265 05c40b36d3b2
parent 239 605a00e9d1ab
child 268 4dd196a4ee7c
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
     1 // Copyright © 2017-2018 Mikael Berthe <mikael@lilotux.net>
     1 // Copyright © 2017-2023 Mikael Berthe <mikael@lilotux.net>
     2 //
     2 //
     3 // Licensed under the MIT license.
     3 // Licensed under the MIT license.
     4 // Please see the LICENSE file is this directory.
     4 // Please see the LICENSE file is this directory.
     5 
     5 
     6 package cmd
     6 package cmd
     7 
     7 
     8 import (
     8 import (
     9 	"strconv"
     9 	"strconv"
    10 	"strings"
    10 	"strings"
    11 
    11 
    12 	"github.com/McKael/madon/v2"
    12 	"github.com/McKael/madon/v3"
    13 	"github.com/pkg/errors"
    13 	"github.com/pkg/errors"
    14 	"github.com/spf13/viper"
    14 	"github.com/spf13/viper"
    15 )
    15 )
    16 
    16 
    17 var scopes = []string{"read", "write", "follow"}
    17 var scopes = []string{"read", "write", "follow"}