Skip to content

Commit

Permalink
rename gomod to github.com/ca-x/kilot
Browse files Browse the repository at this point in the history
  • Loading branch information
虫子樱桃 committed Jan 5, 2024
1 parent 4788c3a commit a629b9f
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ OPTIONS:
## install
run command to install
```bash
go install github.com/czyt/kilot/cmd/kilot@latest
go install github.com/ca-x/kilot/cmd/kilot@latest
```
## usage
after installed,run `kilot -h` for usage help.
Expand Down
4 changes: 2 additions & 2 deletions cmd/kilot/kilot.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/czyt/kilot/cmd/kilot/kratos"
"github.com/ca-x/kilot/cmd/kilot/kratos"
"github.com/urfave/cli/v2"
"log"
"os"
Expand All @@ -22,7 +22,7 @@ func main() {
},
},
Name: "kilot",
Version: "0.1.19",
Version: "0.1.20",
EnableBashCompletion: true,
Commands: []*cli.Command{
{
Expand Down
2 changes: 1 addition & 1 deletion cmd/kilot/kratos/base.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kratos

import (
"github.com/czyt/kilot/cmd/kilot/kratos/mongo"
"github.com/ca-x/kilot/cmd/kilot/kratos/mongo"
"github.com/urfave/cli/v2"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/kilot/kratos/mongo/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package mongo

import (
"errors"
"github.com/czyt/kilot/cmd/kilot/kratos/mongo/internal/generate"
"github.com/ca-x/kilot/cmd/kilot/kratos/mongo/internal/generate"
"github.com/urfave/cli/v2"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/kilot/kratos/mongo/internal/generate/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package generate

import (
"fmt"
"github.com/czyt/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/czyt/kilot/cmd/kilot/pkg/formater"
"github.com/czyt/kilot/cmd/kilot/pkg/ioplus"
"github.com/czyt/kilot/cmd/kilot/pkg/templator"
"github.com/ca-x/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/ca-x/kilot/cmd/kilot/pkg/formater"
"github.com/ca-x/kilot/cmd/kilot/pkg/ioplus"
"github.com/ca-x/kilot/cmd/kilot/pkg/templator"
"log"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/kilot/kratos/mongo/internal/generate/normal.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package generate

import (
"github.com/czyt/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/czyt/kilot/cmd/kilot/kratos/mongo/internal/templates"
"github.com/czyt/kilot/cmd/kilot/pkg/templator"
"github.com/ca-x/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/ca-x/kilot/cmd/kilot/kratos/mongo/internal/templates"
"github.com/ca-x/kilot/cmd/kilot/pkg/templator"
"log"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/kilot/kratos/mongo/internal/generate/odm.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package generate

import (
"github.com/czyt/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/czyt/kilot/cmd/kilot/kratos/mongo/internal/templates"
"github.com/czyt/kilot/cmd/kilot/pkg/templator"
"github.com/ca-x/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/ca-x/kilot/cmd/kilot/kratos/mongo/internal/templates"
"github.com/ca-x/kilot/cmd/kilot/pkg/templator"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/kilot/kratos/mongo/options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mongo

import (
"github.com/czyt/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/ca-x/kilot/cmd/kilot/kratos/internal/templateContext"
"github.com/urfave/cli/v2"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/kilot/pkg/templator/templator.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"errors"
"fmt"
"github.com/czyt/kilot/cmd/kilot/pkg/formater"
"github.com/ca-x/kilot/cmd/kilot/pkg/formater"
"text/template"
)

Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module github.com/czyt/kilot
module github.com/ca-x/kilot

go 1.19

require (
github.com/iancoleman/strcase v0.2.0
github.com/urfave/cli/v2 v2.14.0
github.com/iancoleman/strcase v0.3.0
github.com/urfave/cli/v2 v2.27.1
)

require (
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
github.com/xrash/smetrics v0.0.0-20231213231151-1d8dd44e695e // indirect
)
8 changes: 8 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.3 h1:qMCsGGgs+MAzDFyp9LpAe1Lqy/fY/qCovCm0qnXZOBM=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0=
github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI=
github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/urfave/cli/v2 v2.14.0 h1:sFRL29Dm9JhXSMYb96raDeo/Q/JRyPXPs8u+4CkMlI8=
github.com/urfave/cli/v2 v2.14.0/go.mod h1:1CNUng3PtjQMtRzJO4FMXBQvkGtuYRxxiR9xMa7jMwI=
github.com/urfave/cli/v2 v2.27.1 h1:8xSQ6szndafKVRmfyeUMxkNUJQMjL1F2zmsZ+qHpfho=
github.com/urfave/cli/v2 v2.27.1/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6SinrnYQ=
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
github.com/xrash/smetrics v0.0.0-20231213231151-1d8dd44e695e h1:+SOyEddqYF09QP7vr7CgJ1eti3pY9Fn3LHO1M1r/0sI=
github.com/xrash/smetrics v0.0.0-20231213231151-1d8dd44e695e/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=

0 comments on commit a629b9f

Please sign in to comment.