Skip to content

Commit

Permalink
Change import paths to source.hodakov.me
Browse files Browse the repository at this point in the history
  • Loading branch information
fat0troll committed Dec 30, 2019
1 parent 8bb4ab7 commit 98f782f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ wget -O - -q https://install.goreleaser.com/github.com/fat0troll/yapusher.sh | s
If you're brave enough, or have Go installed, you can invoke

```sh
go get -u github.com/fat0troll/yapusher
go get -u source.hodakov.me/fat0troll/yapusher
```

The stability of master branch is questionable. Please consider using pre-built binaries except you facing some bugs that aren't fixed in newest release.
Expand Down Expand Up @@ -69,7 +69,7 @@ There are some things to do:

### License

See [LICENSE](https://github.com/fat0troll/yapusher/blob/master/LICENSE).
See [LICENSE](https://source.hodakov.me/fat0troll/yapusher/src/branch/master/LICENSE).

## Russian

Expand All @@ -93,7 +93,7 @@ wget -O - -q https://install.goreleaser.com/github.com/fat0troll/yapusher.sh | s
Если вы хотите собрать утилиту из исходников (и имеете установленный Go в системе), вы можете установить ``yapusher`` так:

```sh
go get -u github.com/fat0troll/yapusher
go get -u source.hodakov.me/fat0troll/yapusher
```

Стабильность ветки ``master`` находится под вопросом. Рекомендуется использовать собранную автоматически версию утилиты из релиза, если вы не являетесь разработчиком на Go или же не испытываете затруднений в работе с утилитой, исправления которых ещё не вошло в очередной релиз.
Expand Down Expand Up @@ -138,4 +138,4 @@ yapusher -file /путь/к/файлу -uploadPath "путь/на/яндекс/

### Лицензия

См. [LICENSE](https://github.com/fat0troll/yapusher/blob/master/LICENSE).
См. [LICENSE](https://source.hodakov.me/fat0troll/yapusher/src/branch/master/LICENSE).
2 changes: 1 addition & 1 deletion domains/yandex/v1/exported.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package yandexv1

import (
"github.com/fat0troll/yapusher/internal/context"
"source.hodakov.me/fat0troll/yapusher/internal/context"
"github.com/rs/zerolog"
"gitlab.com/pztrn/flagger"
)
Expand Down
2 changes: 1 addition & 1 deletion domains/yandex/v1/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func showHelp() {
dlog.Info().Msg("This app is authorized for uploading your files one by one to Yandex.Disk.")
dlog.Info().Msg("For information how to use this app, run yapusher with -h flag or head to https://github.com/fat0troll/yapusher/blob/master/README.")
dlog.Info().Msg("For information how to use this app, run yapusher with -h flag or head to https://source.hodakov.me/fat0troll/yapusher/blob/master/README.")

os.Exit(0)
}
4 changes: 2 additions & 2 deletions domains/yandex/v1/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func uploadFile(uploadPath string, filePath string, overwriteFile bool) {
}

if uploadInfo.URL == "" {
dlog.Fatal().Msg("Got empty upload URL. Report a bug at https://github.com/fat0troll/yapusher/issues because this situation is impossible.")
dlog.Fatal().Msg("Got empty upload URL. Report a bug at https://source.hodakov.me/fat0troll/yapusher/issues because this situation is impossible.")
}

uploadReq, _ := http.NewRequest("PUT", uploadInfo.URL, progressReader)
Expand All @@ -150,7 +150,7 @@ func uploadFile(uploadPath string, filePath string, overwriteFile bool) {
case http.StatusAccepted:
dlog.Info().Msg("File uploaded successfully, but it will take time for Yandex.Disk to handle it internally. Be patient and don't try to upload single file many times")
case http.StatusRequestEntityTooLarge:
dlog.Fatal().Msg("File upload is too large. Report a bug at https://github.com/fat0troll/yapusher/issues because this situation should be handled before upload attempt.")
dlog.Fatal().Msg("File upload is too large. Report a bug at https://source.hodakov.me/fat0troll/yapusher/issues because this situation should be handled before upload attempt.")
case http.StatusInsufficientStorage:
dlog.Fatal().Msg("There is no space left on your Yandex.Disk.")
default:
Expand Down
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/fat0troll/yapusher
module source.hodakov.me/fat0troll/yapusher

go 1.12

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

import (
"github.com/fat0troll/yapusher/internal/config"
"source.hodakov.me/fat0troll/yapusher/internal/config"
"github.com/rs/zerolog"
"gitlab.com/pztrn/flagger"
)
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package main

import (
"fmt"
"github.com/fat0troll/yapusher/domains/yandex/v1"
"github.com/fat0troll/yapusher/internal/context"
"source.hodakov.me/fat0troll/yapusher/domains/yandex/v1"
"source.hodakov.me/fat0troll/yapusher/internal/context"
"runtime/debug"
)

Expand Down

0 comments on commit 98f782f

Please sign in to comment.