Skip to content

Commit

Permalink
Update go package to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 26, 2023
1 parent 6bb919c commit 0037019
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

"github.com/spf13/cobra"

"github.com/tj-actions/auto-doc/internal"
"github.com/tj-actions/auto-doc/internal/types"
"github.com/tj-actions/auto-doc/v2/internal"
"github.com/tj-actions/auto-doc/v2/internal/types"
)

var fileName string
Expand Down
4 changes: 2 additions & 2 deletions internal/types/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"

"github.com/tj-actions/auto-doc/internal"
"github.com/tj-actions/auto-doc/internal/utils"
"github.com/tj-actions/auto-doc/v2/internal"
"github.com/tj-actions/auto-doc/v2/internal/utils"
)

// ActionInput represents the input of the action.yml
Expand Down
4 changes: 2 additions & 2 deletions internal/types/reusable.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"

"github.com/tj-actions/auto-doc/internal"
"github.com/tj-actions/auto-doc/internal/utils"
"github.com/tj-actions/auto-doc/v2/internal"
"github.com/tj-actions/auto-doc/v2/internal/utils"
)

// ReusableInput represents the input of the reusable workflow
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/format_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"strings"

"github.com/tj-actions/auto-doc/internal"
"github.com/tj-actions/auto-doc/v2/internal"
)

func FormatValue(v string) string {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/
package main

import "github.com/tj-actions/auto-doc/cmd"
import "github.com/tj-actions/auto-doc/v2/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit 0037019

Please sign in to comment.