Skip to content

Commit

Permalink
修改仓库
Browse files Browse the repository at this point in the history
  • Loading branch information
monigo committed Nov 22, 2019
1 parent 974c7a2 commit e54e677
Show file tree
Hide file tree
Showing 224 changed files with 23,346 additions and 4,292 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 monigo
Copyright (c) 2017 vouv

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GOOS:darwin、freebsd、linux、windows
# GOARCH:386、amd64、arm
# GOARCH:386、amd64、arm、s390x

all: darwin

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align=center>srun</h1>
<p align="center">
<a href="https://travis-ci.org/monigo/srun"><img src="https://travis-ci.org/monigo/srun.svg?branch=master" alt="Build Status" /></a>
<a href="https://travis-ci.org/vouv/srun"><img src="https://travis-ci.org/vouv/srun.svg?branch=master" alt="Build Status" /></a>
<img src="https://img.shields.io/packagist/l/doctrine/orm.svg" alt="License" />
<a href="https://github.com/monigo/donate"><img alt="Donate" src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square" /></a>
<a href="https://github.com/vouv/donate"><img alt="Donate" src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square" /></a>
</p>

> A efficient client for BIT campus network
Expand All @@ -19,15 +19,15 @@
如果已经[安装并配置GO环境](https://golang.google.cn/doc/install), 执行如下命令即可

```bash
go get -u -v github.com/monigo/srun
go get -u -v github.com/vouv/srun
```

运行
```bash
$GOPATH/bin/srun -h
```

2. Download [Release](https://github.com/monigo/srun/releases/latest)
2. Download [Release](https://github.com/vouv/srun/releases/latest)

## Update Log

Expand Down Expand Up @@ -83,7 +83,7 @@ $ srun info
先克隆项目

```bash
$ git clone https://github.com/monigo/srun && cd srun
$ git clone https://github.com/vouv/srun && cd srun
```

macOS下编译
Expand Down
10 changes: 5 additions & 5 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"bufio"
"fmt"
"github.com/monigo/srun/core"
"github.com/monigo/srun/model"
"github.com/monigo/srun/pkg/term"
"github.com/monigo/srun/store"
log "github.com/sirupsen/logrus"
"github.com/vouv/srun/core"
"github.com/vouv/srun/model"
"github.com/vouv/srun/pkg/term"
"github.com/vouv/srun/store"
"io"
"os"
"runtime"
Expand Down Expand Up @@ -159,7 +159,7 @@ func (Client) ShowVersion() {
fmt.Printf("\tOS:%s ARCH:%s GOVERSION:%s\n", runtime.GOOS, runtime.GOARCH, runtime.Version())
fmt.Println("About:")
fmt.Printf("\tVersion:%s\n", Version)
fmt.Println("\n\t</> with ❤ By monigo")
fmt.Println("\n\t</> with ❤ By vouv")
}

// srun help [COMMAND]
Expand Down
8 changes: 4 additions & 4 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package core
import (
"fmt"
"github.com/PuerkitoBio/goquery"
"github.com/monigo/srun/hash"
"github.com/monigo/srun/model"
"github.com/monigo/srun/resp"
"github.com/monigo/srun/utils"
log "github.com/sirupsen/logrus"
"github.com/vouv/srun/hash"
"github.com/vouv/srun/model"
"github.com/vouv/srun/resp"
"github.com/vouv/srun/utils"
"net/url"
)

Expand Down
2 changes: 1 addition & 1 deletion core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package core

import (
"fmt"
"github.com/monigo/srun/store"
"github.com/vouv/srun/store"
"testing"
)

Expand Down
Binary file removed doc/account.gif
Binary file not shown.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/monigo/srun
module github.com/vouv/srun

go 1.13

Expand Down
7 changes: 3 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,25 @@ github.com/andybalholm/cascadia v1.0.0 h1:hOCXnnZ5A+3eVDX8pvgl4kofXv2ELss0bKcqRy
github.com/andybalholm/cascadia v1.0.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y=
github.com/andybalholm/cascadia v1.1.0 h1:BuuO6sSfQNFRu1LppgbD25Hr2vLYW25JvxHs5zzsLTo=
github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k=
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a h1:gOpx8G595UYyvj8UK4+OFyY4rx037g3fmfhe5SasG3U=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20191112182307-2180aed22343 h1:00ohfJ4K98s3m6BGUoBd8nyfp4Yl0GoIKvw5abItTjI=
golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down
2 changes: 1 addition & 1 deletion pkg/term/term_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"syscall"

"github.com/Azure/go-ansiterm/winterm"
"github.com/monigo/srun/pkg/term/windows"
"github.com/vouv/srun/pkg/term/windows"
)

// State holds the console mode for the terminal.
Expand Down
2 changes: 1 addition & 1 deletion store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package store
import (
"encoding/base64"
"encoding/json"
"github.com/monigo/srun/model"
log "github.com/sirupsen/logrus"
"github.com/vouv/srun/model"
"io/ioutil"
"os"
"os/user"
Expand Down
2 changes: 1 addition & 1 deletion update.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"
)

const repo = "https://github.com/monigo/srun/releases/latest"
const repo = "https://github.com/vouv/srun/releases/latest"
const updateTimeout = 3 * time.Second

var client = http.Transport{
Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/andybalholm/cascadia/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e54e677

Please sign in to comment.