Skip to content

Commit a670889

Browse files
author
Shuo
authored
Merge pull request #847 from awesee/develop
U: mod
2 parents b30378f + 4d4b7af commit a670889

File tree

82 files changed

+127
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+127
-127
lines changed

internal/base/base.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
// URL - base.URL
16-
const URL = "https://github.com/openset/leetcode/tree/master"
16+
const URL = "https://github.com/awesee/leetcode/tree/master"
1717

1818
// CmdName - base.CmdName
1919
var CmdName = filepath.Base(os.Args[0])
@@ -68,9 +68,9 @@ func CheckErr(err error) {
6868
func AuthInfo(cmd string) string {
6969
format := "<!--|This file generated by command(leetcode %s); DO NOT EDIT.%s|-->\n"
7070
format += "<!--+----------------------------------------------------------------------+-->\n"
71-
format += "<!--|@author openset <openset.wang@gmail.com> |-->\n"
72-
format += "<!--|@link https://github.com/openset |-->\n"
73-
format += "<!--|@home https://github.com/openset/leetcode |-->\n"
71+
format += "<!--|@author awesee <openset.wang@gmail.com> |-->\n"
72+
format += "<!--|@link https://github.com/awesee |-->\n"
73+
format += "<!--|@home https://github.com/awesee/leetcode |-->\n"
7474
format += "<!--+----------------------------------------------------------------------+-->\n"
7575
return fmt.Sprintf(format, cmd, strings.Repeat(" ", 15-len(cmd)))
7676
}

internal/build/build.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"os/exec"
1010
"time"
1111

12-
"github.com/openset/leetcode/internal/base"
13-
"github.com/openset/leetcode/internal/version"
12+
"github.com/awesee/leetcode/internal/base"
13+
"github.com/awesee/leetcode/internal/version"
1414
)
1515

1616
// CmdBuild - build.CmdBuild
@@ -56,7 +56,7 @@ func runBuild(cmd *base.Command, args []string) {
5656
Modified: time.Now(),
5757
})
5858
base.CheckErr(err)
59-
err = exec.Command("go", "build", "-ldflags", "-s -w", "github.com/openset/leetcode").Run()
59+
err = exec.Command("go", "build", "-ldflags", "-s -w", "github.com/awesee/leetcode").Run()
6060
base.CheckErr(err)
6161
src, err := os.Open(binName())
6262
base.CheckErr(err)

internal/clean/clean.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
package clean
33

44
import (
5-
"github.com/openset/leetcode/internal/base"
6-
"github.com/openset/leetcode/internal/leetcode"
5+
"github.com/awesee/leetcode/internal/base"
6+
"github.com/awesee/leetcode/internal/leetcode"
77
)
88

99
// CmdClean - clean.CmdClean

internal/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http/cookiejar"
99
"strings"
1010

11-
"github.com/openset/leetcode/internal/base"
11+
"github.com/awesee/leetcode/internal/base"
1212
)
1313

1414
var err error

internal/description/description.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"runtime"
77
"sync"
88

9-
"github.com/openset/leetcode/internal/base"
10-
"github.com/openset/leetcode/internal/leetcode"
9+
"github.com/awesee/leetcode/internal/base"
10+
"github.com/awesee/leetcode/internal/leetcode"
1111
)
1212

1313
// CmdDescription - description.CmdDescription

internal/help/help.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package help
44
import (
55
"fmt"
66

7-
"github.com/openset/leetcode/internal/base"
7+
"github.com/awesee/leetcode/internal/base"
88
)
99

1010
// CmdHelp - help.CmdHelp

internal/helper/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"bytes"
66
"os/exec"
77

8-
"github.com/openset/leetcode/internal/base"
8+
"github.com/awesee/leetcode/internal/base"
99
)
1010

1111
// CmdHelper - help.CmdHelper

internal/leetcode/base.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"strings"
1111
"time"
1212

13-
"github.com/openset/leetcode/internal/base"
14-
"github.com/openset/leetcode/internal/client"
13+
"github.com/awesee/leetcode/internal/base"
14+
"github.com/awesee/leetcode/internal/client"
1515
)
1616

1717
// leetcode var

internal/leetcode/problems_algorithms.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package leetcode
22

3-
import "github.com/openset/leetcode/internal/client"
3+
import "github.com/awesee/leetcode/internal/client"
44

55
// ProblemsAlgorithms - leetcode.ProblemsAlgorithms
66
func ProblemsAlgorithms() (ps ProblemsType) {

internal/leetcode/problems_all.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sort"
77
"strings"
88

9-
"github.com/openset/leetcode/internal/client"
9+
"github.com/awesee/leetcode/internal/client"
1010
)
1111

1212
// ProblemsType - leetcode.ProblemsType

0 commit comments

Comments
 (0)