From c8b6eb2b60f4eb0c9197a4bccd8a7af82a19632d Mon Sep 17 00:00:00 2001 From: Anand Sudhir Prayaga Date: Wed, 28 Nov 2018 14:47:06 +0100 Subject: [PATCH] Fix references to old Github repo location with new one --- .travis.yml | 10 +-- CHANGELOG.md | 18 ++-- README.md | 10 +-- _sample_configs/complex_config.yml | 6 +- bamboohr/client.go | 2 +- bamboohr/item.go | 2 +- bamboohr/widget.go | 2 +- bargraph/widget.go | 2 +- cfg/config_files.go | 6 +- checklist/checklist_item.go | 2 +- checklist_tests/checklist_item_test.go | 4 +- circleci/client.go | 2 +- circleci/widget.go | 2 +- clocks/clock_collection.go | 2 +- clocks/display.go | 2 +- clocks/widget.go | 2 +- cmdrunner/widget.go | 2 +- cryptoexchanges/bittrex/widget.go | 2 +- cryptoexchanges/blockfolio/widget.go | 2 +- cryptoexchanges/cryptolive/price/widget.go | 2 +- cryptoexchanges/cryptolive/toplist/widget.go | 2 +- cryptoexchanges/cryptolive/widget.go | 6 +- datadog/client.go | 2 +- datadog/widget.go | 2 +- flags/flags.go | 4 +- gcal/cal_event.go | 2 +- gcal/client.go | 4 +- gcal/display.go | 2 +- gcal/widget.go | 2 +- gerrit/display.go | 2 +- gerrit/gerrit_repo.go | 2 +- gerrit/widget.go | 2 +- git/display.go | 2 +- git/git_repo.go | 2 +- git/widget.go | 2 +- github/display.go | 2 +- github/github_repo.go | 2 +- github/widget.go | 2 +- gitlab/display.go | 2 +- gitlab/widget.go | 2 +- gitter/client.go | 4 +- gitter/widget.go | 2 +- gspreadsheets/client.go | 2 +- gspreadsheets/widget.go | 2 +- hackernews/widget.go | 2 +- help/help.go | 12 +-- ipaddresses/ipapi/widget.go | 2 +- ipaddresses/ipinfo/widget.go | 2 +- jenkins/client.go | 2 +- jenkins/widget.go | 2 +- jira/client.go | 2 +- jira/widget.go | 2 +- logger/log.go | 2 +- main.go | 88 ++++++++++---------- mercurial/display.go | 2 +- mercurial/hg_repo.go | 2 +- mercurial/widget.go | 2 +- newrelic/client.go | 2 +- newrelic/widget.go | 2 +- opsgenie/client.go | 2 +- opsgenie/widget.go | 2 +- power/battery.go | 2 +- power/battery_linux.go | 2 +- power/source.go | 2 +- power/widget.go | 2 +- resourceusage/widget.go | 2 +- security/dns.go | 2 +- security/dns_windows.go | 2 +- security/firewall.go | 6 +- security/users.go | 2 +- security/users_windows.go | 2 +- security/widget.go | 2 +- security/widget_windows.go | 2 +- security/wifi.go | 2 +- spotify/widget.go | 2 +- spotifyweb/widget.go | 4 +- status/widget.go | 2 +- system/system_info.go | 2 +- system/widget.go | 2 +- textfile/widget.go | 2 +- todo/display.go | 8 +- todo/widget.go | 6 +- todoist/display.go | 2 +- todoist/widget.go | 2 +- travisci/client.go | 2 +- travisci/widget.go | 2 +- trello/client.go | 2 +- trello/widget.go | 2 +- twitter/client.go | 2 +- twitter/widget.go | 2 +- vendor/github.com/gdamore/tcell/README.md | 2 +- weatherservices/prettyweather/widget.go | 2 +- weatherservices/weather/display.go | 2 +- weatherservices/weather/widget.go | 2 +- wtf_tests/bargraph/bargraph_test.go | 8 +- wtf_tests/colors_test.go | 2 +- wtf_tests/datetime_test.go | 2 +- wtf_tests/position_test.go | 2 +- wtf_tests/utils_test.go | 2 +- zendesk/client.go | 2 +- zendesk/widget.go | 2 +- 101 files changed, 186 insertions(+), 186 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f9ebb2e..36c3e5ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,9 @@ go: sudo: false before_install: # Make sure travis builds work for forks - - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer - - test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true - - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf - - cd $HOME/gopath/src/github.com/senorprogrammer/wtf + - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil + - test ! -d $GOPATH/src/github.com/wtfutil/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil/wtf || true + - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/wtfutil/wtf + - cd $HOME/gopath/src/github.com/wtfutil/wtf -script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests/... +script: go get ./... && go get github.com/go-test/deep && go test -v github.com/wtfutil/wtf/wtf_tests/... diff --git a/CHANGELOG.md b/CHANGELOG.md index 679b54e1..91b7c909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,8 +18,8 @@ ### 🐞 Fixed -* Google Calendar module now displays all-day events ([#306](https://github.com/senorprogrammer/wtf/issues/306) by [@nicholas-eden](https://github.com/nicholas-eden)) -* Google Calendar configuration much improved ([#326](https://github.com/senorprogrammer/wtf/issues/326) by [@dvdmssmnn](https://github.com/dvdmssmnn)) +* Google Calendar module now displays all-day events ([#306](https://github.com/wtfutil/wtf/issues/306) by [@nicholas-eden](https://github.com/nicholas-eden)) +* Google Calendar configuration much improved ([#326](https://github.com/wtfutil/wtf/issues/326) by [@dvdmssmnn](https://github.com/dvdmssmnn)) ## 0.3.0 @@ -31,7 +31,7 @@ ### 🐞 Fixed -* Textfile module now watches files for changes ([#276](https://github.com/senorprogrammer/wtf/issues/276) by @senporprogrammer) +* Textfile module now watches files for changes ([#276](https://github.com/wtfutil/wtf/issues/276) by @senporprogrammer) * Nav shortcuts now use numbers rather than letters to allow the use of letters in widget menus * Twitter widget no longer crashes app when closing the help modal @@ -47,8 +47,8 @@ ### 🐞 Fixed -* Textfile syntax highlighting now included in stand-alone binary ([#261](https://github.com/senorprogrammer/wtf/issues/261) by @senporprogrammer) -* Config param now supports relative paths starting with `~` ([#295](https://github.com/senorprogrammer/wtf/issues/295) by @anandsudhir) +* Textfile syntax highlighting now included in stand-alone binary ([#261](https://github.com/wtfutil/wtf/issues/261) by @senporprogrammer) +* Config param now supports relative paths starting with `~` ([#295](https://github.com/wtfutil/wtf/issues/295) by @anandsudhir) ## 0.2.1 #### Aug 17, 2018 @@ -61,10 +61,10 @@ * Twitter screen name now configurable in configuration file (@senorprogrammer) * Gerrit module no longer dies if it can't connect to the server (@anandsudhir) -* Pretty Weather properly displays colours again (([#298](https://github.com/senorprogrammer/wtf/issues/298) by @bertl4398) -* Clocks row colour configuration fixed (([#282](https://github.com/senorprogrammer/wtf/issues/282) by @anandsudhir) -* Sigils no longer display when there's only one option (([#291](https://github.com/senorprogrammer/wtf/issues/291) by @anandsudhir) -* Jira module now responds to the "/" key (([#268](https://github.com/senorprogrammer/wtf/issues/268)) by @senorprogrammer) +* Pretty Weather properly displays colours again (([#298](https://github.com/wtfutil/wtf/issues/298) by @bertl4398) +* Clocks row colour configuration fixed (([#282](https://github.com/wtfutil/wtf/issues/282) by @anandsudhir) +* Sigils no longer display when there's only one option (([#291](https://github.com/wtfutil/wtf/issues/291) by @anandsudhir) +* Jira module now responds to the "/" key (([#268](https://github.com/wtfutil/wtf/issues/268)) by @senorprogrammer) ## 0.2.0 #### Aug 3, 2018 diff --git a/README.md b/README.md index 5c1f6441..f37688ee 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ [![All Contributors](https://img.shields.io/badge/all_contributors-53-orange.svg?style=flat-square)](#contributors) -[![Build Status](https://travis-ci.com/senorprogrammer/wtf.svg?branch=master)](https://travis-ci.com/senorprogrammer/wtf) +[![Build Status](https://travis-ci.com/wtfutil/wtf.svg?branch=master)](https://travis-ci.com/wtfutil/wtf) [![Gitter Chat](https://badges.gitter.im/wtfutil/Lobby.svg)](https://gitter.im/wtfutil/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Twitter](https://img.shields.io/badge/follow-on%20twitter-blue.svg)](https://twitter.com/wtfutil) -[![Go Report Card](https://goreportcard.com/badge/github.com/senorprogrammer/wtf)](https://goreportcard.com/report/github.com/senorprogrammer/wtf) +[![Go Report Card](https://goreportcard.com/badge/github.com/wtfutil/wtf)](https://goreportcard.com/report/github.com/wtfutil/wtf) # WTF @@ -18,11 +18,11 @@ Follow [on Twitter](https://twitter.com/wtfutil) for news and latest updates. ## Quick Start -[Download and run the latest binary](https://github.com/senorprogrammer/wtf/releases) or install from source: +[Download and run the latest binary](https://github.com/wtfutil/wtf/releases) or install from source: ```bash -go get -u github.com/senorprogrammer/wtf -cd $GOPATH/src/github.com/senorprogrammer/wtf +go get -u github.com/wtfutil/wtf +cd $GOPATH/src/github.com/wtfutil/wtf make install make run ``` diff --git a/_sample_configs/complex_config.yml b/_sample_configs/complex_config.yml index 7937761b..10b586ab 100644 --- a/_sample_configs/complex_config.yml +++ b/_sample_configs/complex_config.yml @@ -108,7 +108,7 @@ wtf: width: 3 refreshInterval: 8 repositories: - - "/Users/chris/go/src/github.com/senorprogrammer/wtf" + - "/Users/chris/go/src/github.com/wtfutil/wtf" github: enabled: true position: @@ -119,8 +119,8 @@ wtf: refreshInterval: 300 repositories: repo-name: "owner id" - wtf: "senorprogrammer" - username: "senorprogrammer" + wtf: "wtfutil" + username: "wtfutil" jira: colors: rows: diff --git a/bamboohr/client.go b/bamboohr/client.go index 1cebd95d..909179f9 100644 --- a/bamboohr/client.go +++ b/bamboohr/client.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) // A Client represents the data required to connect to the BambooHR API diff --git a/bamboohr/item.go b/bamboohr/item.go index cc18590b..1f6f5ef9 100644 --- a/bamboohr/item.go +++ b/bamboohr/item.go @@ -4,7 +4,7 @@ import ( "fmt" //"time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Item struct { diff --git a/bamboohr/widget.go b/bamboohr/widget.go index 662b19f4..ed324312 100644 --- a/bamboohr/widget.go +++ b/bamboohr/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/bargraph/widget.go b/bargraph/widget.go index 3ca77a20..84a1d5bc 100644 --- a/bargraph/widget.go +++ b/bargraph/widget.go @@ -9,7 +9,7 @@ import ( "math/rand" "time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) var started = false diff --git a/cfg/config_files.go b/cfg/config_files.go index 26595481..dac769e1 100644 --- a/cfg/config_files.go +++ b/cfg/config_files.go @@ -6,8 +6,8 @@ import ( "os" "github.com/olebedev/config" - "github.com/senorprogrammer/wtf/logger" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/logger" + "github.com/wtfutil/wtf/wtf" ) // ConfigDirV1 defines the path to the first version of configuration. Do not use this @@ -127,7 +127,7 @@ func LoadConfigFile(filePath string) *config.Config { cfg, err := config.ParseYamlFile(absPath) if err != nil { - fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.config/wtf\033[0m directory.\n See \033[1;34mhttps://github.com/senorprogrammer/wtf\033[0m for details.") + fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.config/wtf\033[0m directory.\n See \033[1;34mhttps://github.com/wtfutil/wtf\033[0m for details.") fmt.Printf(" %s\n", err.Error()) os.Exit(1) } diff --git a/checklist/checklist_item.go b/checklist/checklist_item.go index c7d6ab56..70d0ae6f 100644 --- a/checklist/checklist_item.go +++ b/checklist/checklist_item.go @@ -1,7 +1,7 @@ package checklist import ( - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) // ChecklistItem is a module for creating generic checklist implementations diff --git a/checklist_tests/checklist_item_test.go b/checklist_tests/checklist_item_test.go index 8337dc04..3fdcdae5 100644 --- a/checklist_tests/checklist_item_test.go +++ b/checklist_tests/checklist_item_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/olebedev/config" - . "github.com/senorprogrammer/wtf/checklist" - "github.com/senorprogrammer/wtf/wtf" . "github.com/stretchr/testify/assert" + . "github.com/wtfutil/wtf/checklist" + "github.com/wtfutil/wtf/wtf" ) /* -------------------- CheckMark -------------------- */ diff --git a/circleci/client.go b/circleci/client.go index 8a796722..4f66f082 100644 --- a/circleci/client.go +++ b/circleci/client.go @@ -10,7 +10,7 @@ import ( "net/url" "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const APIEnvKey = "WTF_CIRCLE_API_KEY" diff --git a/circleci/widget.go b/circleci/widget.go index 5ac21a7d..932340e9 100644 --- a/circleci/widget.go +++ b/circleci/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/clocks/clock_collection.go b/clocks/clock_collection.go index c1ce1a1c..6ca8f0c8 100644 --- a/clocks/clock_collection.go +++ b/clocks/clock_collection.go @@ -4,7 +4,7 @@ import ( "sort" "time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type ClockCollection struct { diff --git a/clocks/display.go b/clocks/display.go index f7f1cb37..0516e197 100644 --- a/clocks/display.go +++ b/clocks/display.go @@ -3,7 +3,7 @@ package clocks import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display(clocks []Clock, dateFormat string, timeFormat string) { diff --git a/clocks/widget.go b/clocks/widget.go index 235ff539..38d19ac0 100644 --- a/clocks/widget.go +++ b/clocks/widget.go @@ -5,7 +5,7 @@ import ( "time" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/cmdrunner/widget.go b/cmdrunner/widget.go index 8f63a04b..2c812db9 100644 --- a/cmdrunner/widget.go +++ b/cmdrunner/widget.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/cryptoexchanges/bittrex/widget.go b/cryptoexchanges/bittrex/widget.go index 4731abbd..ed11d2d7 100644 --- a/cryptoexchanges/bittrex/widget.go +++ b/cryptoexchanges/bittrex/widget.go @@ -8,7 +8,7 @@ import ( "net/http" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type TextColors struct { diff --git a/cryptoexchanges/blockfolio/widget.go b/cryptoexchanges/blockfolio/widget.go index 86355213..3c116c88 100644 --- a/cryptoexchanges/blockfolio/widget.go +++ b/cryptoexchanges/blockfolio/widget.go @@ -8,7 +8,7 @@ import ( "net/http" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/cryptoexchanges/cryptolive/price/widget.go b/cryptoexchanges/cryptolive/price/widget.go index e7db0dc6..4984f70e 100644 --- a/cryptoexchanges/cryptolive/price/widget.go +++ b/cryptoexchanges/cryptolive/price/widget.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) var baseURL = "https://min-api.cryptocompare.com/data/price" diff --git a/cryptoexchanges/cryptolive/toplist/widget.go b/cryptoexchanges/cryptolive/toplist/widget.go index a9aeafae..5c433fec 100644 --- a/cryptoexchanges/cryptolive/toplist/widget.go +++ b/cryptoexchanges/cryptolive/toplist/widget.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) var baseURL = "https://min-api.cryptocompare.com/data/top/exchanges" diff --git a/cryptoexchanges/cryptolive/widget.go b/cryptoexchanges/cryptolive/widget.go index ea129f8c..70a33195 100644 --- a/cryptoexchanges/cryptolive/widget.go +++ b/cryptoexchanges/cryptolive/widget.go @@ -5,9 +5,9 @@ import ( "sync" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive/price" - "github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive/toplist" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/cryptoexchanges/cryptolive/price" + "github.com/wtfutil/wtf/cryptoexchanges/cryptolive/toplist" + "github.com/wtfutil/wtf/wtf" ) // Widget define wtf widget to register widget later diff --git a/datadog/client.go b/datadog/client.go index 9d9a22fc..d9d4e238 100644 --- a/datadog/client.go +++ b/datadog/client.go @@ -3,7 +3,7 @@ package datadog import ( "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" datadog "github.com/zorkian/go-datadog-api" ) diff --git a/datadog/widget.go b/datadog/widget.go index b593b5b5..2d5d97f7 100644 --- a/datadog/widget.go +++ b/datadog/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" datadog "github.com/zorkian/go-datadog-api" ) diff --git a/flags/flags.go b/flags/flags.go index 11327e09..8f3e9af9 100644 --- a/flags/flags.go +++ b/flags/flags.go @@ -6,8 +6,8 @@ import ( "path/filepath" goFlags "github.com/jessevdk/go-flags" - "github.com/senorprogrammer/wtf/help" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/help" + "github.com/wtfutil/wtf/wtf" ) type Flags struct { diff --git a/gcal/cal_event.go b/gcal/cal_event.go index 81d2450c..99525f23 100644 --- a/gcal/cal_event.go +++ b/gcal/cal_event.go @@ -3,7 +3,7 @@ package gcal import ( "time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "google.golang.org/api/calendar/v3" ) diff --git a/gcal/client.go b/gcal/client.go index 73bab1f9..06f6ccd1 100644 --- a/gcal/client.go +++ b/gcal/client.go @@ -18,8 +18,8 @@ import ( "sort" "time" - "github.com/senorprogrammer/wtf/cfg" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/cfg" + "github.com/wtfutil/wtf/wtf" "golang.org/x/oauth2" "golang.org/x/oauth2/google" "google.golang.org/api/calendar/v3" diff --git a/gcal/display.go b/gcal/display.go index 19c85124..f1157b19 100644 --- a/gcal/display.go +++ b/gcal/display.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) sortedEvents() ([]*CalEvent, []*CalEvent) { diff --git a/gcal/widget.go b/gcal/widget.go index f1f6409f..5095a0d8 100644 --- a/gcal/widget.go +++ b/gcal/widget.go @@ -5,7 +5,7 @@ import ( "time" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/gerrit/display.go b/gerrit/display.go index 24645197..db704e12 100644 --- a/gerrit/display.go +++ b/gerrit/display.go @@ -3,7 +3,7 @@ package gerrit import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display() { diff --git a/gerrit/gerrit_repo.go b/gerrit/gerrit_repo.go index 738173fb..dbe58889 100644 --- a/gerrit/gerrit_repo.go +++ b/gerrit/gerrit_repo.go @@ -2,7 +2,7 @@ package gerrit import ( glb "github.com/andygrunwald/go-gerrit" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type GerritProject struct { diff --git a/gerrit/widget.go b/gerrit/widget.go index 6ab8fb3a..0819378e 100644 --- a/gerrit/widget.go +++ b/gerrit/widget.go @@ -10,7 +10,7 @@ import ( glb "github.com/andygrunwald/go-gerrit" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/git/display.go b/git/display.go index 34b143c2..1086d081 100644 --- a/git/display.go +++ b/git/display.go @@ -5,7 +5,7 @@ import ( "strings" "unicode/utf8" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display() { diff --git a/git/git_repo.go b/git/git_repo.go index aed7b59e..a402d988 100644 --- a/git/git_repo.go +++ b/git/git_repo.go @@ -5,7 +5,7 @@ import ( "os/exec" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type GitRepo struct { diff --git a/git/widget.go b/git/widget.go index 934f2f01..b94550e1 100644 --- a/git/widget.go +++ b/git/widget.go @@ -3,7 +3,7 @@ package git import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "io/ioutil" "log" "sort" diff --git a/github/display.go b/github/display.go index afe4409c..940e12fc 100644 --- a/github/display.go +++ b/github/display.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/google/go-github/github" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display() { diff --git a/github/github_repo.go b/github/github_repo.go index df84334a..1860de61 100644 --- a/github/github_repo.go +++ b/github/github_repo.go @@ -6,7 +6,7 @@ import ( "os" ghb "github.com/google/go-github/github" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "golang.org/x/oauth2" ) diff --git a/github/widget.go b/github/widget.go index 51fb750a..2bafc598 100644 --- a/github/widget.go +++ b/github/widget.go @@ -3,7 +3,7 @@ package github import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/gitlab/display.go b/gitlab/display.go index 4b268044..0c8028cf 100644 --- a/gitlab/display.go +++ b/gitlab/display.go @@ -3,7 +3,7 @@ package gitlab import ( "fmt" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display() { diff --git a/gitlab/widget.go b/gitlab/widget.go index 95cfc5f4..8001e84f 100644 --- a/gitlab/widget.go +++ b/gitlab/widget.go @@ -5,7 +5,7 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" glb "github.com/xanzy/go-gitlab" ) diff --git a/gitter/client.go b/gitter/client.go index 6ead88e1..f3d635c2 100644 --- a/gitter/client.go +++ b/gitter/client.go @@ -4,8 +4,8 @@ import ( "bytes" "encoding/json" "fmt" - "github.com/senorprogrammer/wtf/logger" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/logger" + "github.com/wtfutil/wtf/wtf" "io" "io/ioutil" "net/http" diff --git a/gitter/widget.go b/gitter/widget.go index b21b9c82..cb15cd0b 100644 --- a/gitter/widget.go +++ b/gitter/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "strconv" ) diff --git a/gspreadsheets/client.go b/gspreadsheets/client.go index 4b0b31a6..12b6caf0 100644 --- a/gspreadsheets/client.go +++ b/gspreadsheets/client.go @@ -18,7 +18,7 @@ import ( "path/filepath" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "golang.org/x/oauth2" "golang.org/x/oauth2/google" sheets "google.golang.org/api/sheets/v4" diff --git a/gspreadsheets/widget.go b/gspreadsheets/widget.go index cdc58cbb..c2d9a5ba 100644 --- a/gspreadsheets/widget.go +++ b/gspreadsheets/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" sheets "google.golang.org/api/sheets/v4" ) diff --git a/hackernews/widget.go b/hackernews/widget.go index deb7e9f8..8600e5c4 100644 --- a/hackernews/widget.go +++ b/hackernews/widget.go @@ -8,7 +8,7 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/help/help.go b/help/help.go index 24e6926a..9a4df43b 100644 --- a/help/help.go +++ b/help/help.go @@ -3,12 +3,12 @@ package help import ( "fmt" - "github.com/senorprogrammer/wtf/git" - "github.com/senorprogrammer/wtf/github" - "github.com/senorprogrammer/wtf/textfile" - "github.com/senorprogrammer/wtf/todo" - "github.com/senorprogrammer/wtf/todoist" - "github.com/senorprogrammer/wtf/weatherservices/weather" + "github.com/wtfutil/wtf/git" + "github.com/wtfutil/wtf/github" + "github.com/wtfutil/wtf/textfile" + "github.com/wtfutil/wtf/todo" + "github.com/wtfutil/wtf/todoist" + "github.com/wtfutil/wtf/weatherservices/weather" ) func Display(moduleName string) { diff --git a/ipaddresses/ipapi/widget.go b/ipaddresses/ipapi/widget.go index 9d24d090..8a9bfc48 100644 --- a/ipaddresses/ipapi/widget.go +++ b/ipaddresses/ipapi/widget.go @@ -9,7 +9,7 @@ import ( "text/template" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) // Widget widget struct diff --git a/ipaddresses/ipinfo/widget.go b/ipaddresses/ipinfo/widget.go index c54fd2fb..7ee92a4b 100644 --- a/ipaddresses/ipinfo/widget.go +++ b/ipaddresses/ipinfo/widget.go @@ -8,7 +8,7 @@ import ( "text/template" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/jenkins/client.go b/jenkins/client.go index b37d7502..080f781d 100644 --- a/jenkins/client.go +++ b/jenkins/client.go @@ -10,7 +10,7 @@ import ( "net/url" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func Create(jenkinsURL string, username string, apiKey string) (*View, error) { diff --git a/jenkins/widget.go b/jenkins/widget.go index aaeb149a..9aa70824 100644 --- a/jenkins/widget.go +++ b/jenkins/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "os" "strconv" ) diff --git a/jira/client.go b/jira/client.go index 4ff0f5c2..fe74d731 100644 --- a/jira/client.go +++ b/jira/client.go @@ -12,7 +12,7 @@ import ( "os" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func IssuesFor(username string, projects []string, jql string) (*SearchResult, error) { diff --git a/jira/widget.go b/jira/widget.go index 4064f0d0..80942e7d 100644 --- a/jira/widget.go +++ b/jira/widget.go @@ -5,7 +5,7 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "strconv" ) diff --git a/logger/log.go b/logger/log.go index 11d61525..084f6fe8 100644 --- a/logger/log.go +++ b/logger/log.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const maxBufferSize int64 = 1024 diff --git a/main.go b/main.go index 1e67c3b3..6651cc41 100644 --- a/main.go +++ b/main.go @@ -11,50 +11,50 @@ import ( "github.com/pkg/profile" "github.com/radovskyb/watcher" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/bamboohr" - "github.com/senorprogrammer/wtf/bargraph" - "github.com/senorprogrammer/wtf/cfg" - "github.com/senorprogrammer/wtf/circleci" - "github.com/senorprogrammer/wtf/clocks" - "github.com/senorprogrammer/wtf/cmdrunner" - "github.com/senorprogrammer/wtf/cryptoexchanges/bittrex" - "github.com/senorprogrammer/wtf/cryptoexchanges/blockfolio" - "github.com/senorprogrammer/wtf/cryptoexchanges/cryptolive" - "github.com/senorprogrammer/wtf/datadog" - "github.com/senorprogrammer/wtf/flags" - "github.com/senorprogrammer/wtf/gcal" - "github.com/senorprogrammer/wtf/gerrit" - "github.com/senorprogrammer/wtf/git" - "github.com/senorprogrammer/wtf/github" - "github.com/senorprogrammer/wtf/gitlab" - "github.com/senorprogrammer/wtf/gitter" - "github.com/senorprogrammer/wtf/gspreadsheets" - "github.com/senorprogrammer/wtf/hackernews" - "github.com/senorprogrammer/wtf/ipaddresses/ipapi" - "github.com/senorprogrammer/wtf/ipaddresses/ipinfo" - "github.com/senorprogrammer/wtf/jenkins" - "github.com/senorprogrammer/wtf/jira" - "github.com/senorprogrammer/wtf/logger" - "github.com/senorprogrammer/wtf/mercurial" - "github.com/senorprogrammer/wtf/newrelic" - "github.com/senorprogrammer/wtf/opsgenie" - "github.com/senorprogrammer/wtf/power" - "github.com/senorprogrammer/wtf/resourceusage" - "github.com/senorprogrammer/wtf/security" - "github.com/senorprogrammer/wtf/spotify" - "github.com/senorprogrammer/wtf/spotifyweb" - "github.com/senorprogrammer/wtf/status" - "github.com/senorprogrammer/wtf/system" - "github.com/senorprogrammer/wtf/textfile" - "github.com/senorprogrammer/wtf/todo" - "github.com/senorprogrammer/wtf/todoist" - "github.com/senorprogrammer/wtf/travisci" - "github.com/senorprogrammer/wtf/trello" - "github.com/senorprogrammer/wtf/twitter" - "github.com/senorprogrammer/wtf/weatherservices/prettyweather" - "github.com/senorprogrammer/wtf/weatherservices/weather" - "github.com/senorprogrammer/wtf/wtf" - "github.com/senorprogrammer/wtf/zendesk" + "github.com/wtfutil/wtf/bamboohr" + "github.com/wtfutil/wtf/bargraph" + "github.com/wtfutil/wtf/cfg" + "github.com/wtfutil/wtf/circleci" + "github.com/wtfutil/wtf/clocks" + "github.com/wtfutil/wtf/cmdrunner" + "github.com/wtfutil/wtf/cryptoexchanges/bittrex" + "github.com/wtfutil/wtf/cryptoexchanges/blockfolio" + "github.com/wtfutil/wtf/cryptoexchanges/cryptolive" + "github.com/wtfutil/wtf/datadog" + "github.com/wtfutil/wtf/flags" + "github.com/wtfutil/wtf/gcal" + "github.com/wtfutil/wtf/gerrit" + "github.com/wtfutil/wtf/git" + "github.com/wtfutil/wtf/github" + "github.com/wtfutil/wtf/gitlab" + "github.com/wtfutil/wtf/gitter" + "github.com/wtfutil/wtf/gspreadsheets" + "github.com/wtfutil/wtf/hackernews" + "github.com/wtfutil/wtf/ipaddresses/ipapi" + "github.com/wtfutil/wtf/ipaddresses/ipinfo" + "github.com/wtfutil/wtf/jenkins" + "github.com/wtfutil/wtf/jira" + "github.com/wtfutil/wtf/logger" + "github.com/wtfutil/wtf/mercurial" + "github.com/wtfutil/wtf/newrelic" + "github.com/wtfutil/wtf/opsgenie" + "github.com/wtfutil/wtf/power" + "github.com/wtfutil/wtf/resourceusage" + "github.com/wtfutil/wtf/security" + "github.com/wtfutil/wtf/spotify" + "github.com/wtfutil/wtf/spotifyweb" + "github.com/wtfutil/wtf/status" + "github.com/wtfutil/wtf/system" + "github.com/wtfutil/wtf/textfile" + "github.com/wtfutil/wtf/todo" + "github.com/wtfutil/wtf/todoist" + "github.com/wtfutil/wtf/travisci" + "github.com/wtfutil/wtf/trello" + "github.com/wtfutil/wtf/twitter" + "github.com/wtfutil/wtf/weatherservices/prettyweather" + "github.com/wtfutil/wtf/weatherservices/weather" + "github.com/wtfutil/wtf/wtf" + "github.com/wtfutil/wtf/zendesk" ) var focusTracker wtf.FocusTracker diff --git a/mercurial/display.go b/mercurial/display.go index 2321bccb..87f287ed 100644 --- a/mercurial/display.go +++ b/mercurial/display.go @@ -5,7 +5,7 @@ import ( "strings" "unicode/utf8" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display() { diff --git a/mercurial/hg_repo.go b/mercurial/hg_repo.go index daca9dc6..27774c96 100644 --- a/mercurial/hg_repo.go +++ b/mercurial/hg_repo.go @@ -7,7 +7,7 @@ import ( "path" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type MercurialRepo struct { diff --git a/mercurial/widget.go b/mercurial/widget.go index 302ae2fb..2947fef7 100644 --- a/mercurial/widget.go +++ b/mercurial/widget.go @@ -3,7 +3,7 @@ package mercurial import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/newrelic/client.go b/newrelic/client.go index e3937338..6e15940f 100644 --- a/newrelic/client.go +++ b/newrelic/client.go @@ -3,7 +3,7 @@ package newrelic import ( "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" nr "github.com/yfronto/newrelic" ) diff --git a/newrelic/widget.go b/newrelic/widget.go index eca62c53..95538163 100644 --- a/newrelic/widget.go +++ b/newrelic/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" nr "github.com/yfronto/newrelic" ) diff --git a/opsgenie/client.go b/opsgenie/client.go index b2a980cf..83fb6a44 100644 --- a/opsgenie/client.go +++ b/opsgenie/client.go @@ -6,7 +6,7 @@ import ( "net/http" "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type OnCallResponse struct { diff --git a/opsgenie/widget.go b/opsgenie/widget.go index 9d477424..3ad57f39 100644 --- a/opsgenie/widget.go +++ b/opsgenie/widget.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/power/battery.go b/power/battery.go index 08b7fdfe..053f4e3d 100644 --- a/power/battery.go +++ b/power/battery.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const TimeRegExp = "^(?:\\d|[01]\\d|2[0-3]):[0-5]\\d" diff --git a/power/battery_linux.go b/power/battery_linux.go index 693d95b6..937631b3 100644 --- a/power/battery_linux.go +++ b/power/battery_linux.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) var batteryState string diff --git a/power/source.go b/power/source.go index e6eff36c..105b69b3 100644 --- a/power/source.go +++ b/power/source.go @@ -7,7 +7,7 @@ import ( "regexp" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const SingleQuotesRegExp = "'(.*)'" diff --git a/power/widget.go b/power/widget.go index b0698f71..ee091df3 100644 --- a/power/widget.go +++ b/power/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/resourceusage/widget.go b/resourceusage/widget.go index a94cfa86..f4991c35 100644 --- a/resourceusage/widget.go +++ b/resourceusage/widget.go @@ -4,9 +4,9 @@ import ( "code.cloudfoundry.org/bytefmt" "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" "github.com/shirou/gopsutil/cpu" "github.com/shirou/gopsutil/mem" + "github.com/wtfutil/wtf/wtf" "math" "time" ) diff --git a/security/dns.go b/security/dns.go index 16cf630d..5dc256aa 100644 --- a/security/dns.go +++ b/security/dns.go @@ -7,7 +7,7 @@ import ( "runtime" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) /* -------------------- Exported Functions -------------------- */ diff --git a/security/dns_windows.go b/security/dns_windows.go index dae7966c..544def20 100644 --- a/security/dns_windows.go +++ b/security/dns_windows.go @@ -5,7 +5,7 @@ package security import ( "os/exec" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func DnsServers() []string { diff --git a/security/firewall.go b/security/firewall.go index 75e80a07..2062cb00 100644 --- a/security/firewall.go +++ b/security/firewall.go @@ -1,13 +1,13 @@ package security import ( + "bytes" "os/exec" + "os/user" "runtime" "strings" - "bytes" - "os/user" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const osxFirewallCmd = "/usr/libexec/ApplicationFirewall/socketfilterfw" diff --git a/security/users.go b/security/users.go index 41068b3e..af40eb44 100644 --- a/security/users.go +++ b/security/users.go @@ -9,7 +9,7 @@ import ( "runtime" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) /* -------------------- Exported Functions -------------------- */ diff --git a/security/users_windows.go b/security/users_windows.go index 38c77d9f..5d5d937d 100644 --- a/security/users_windows.go +++ b/security/users_windows.go @@ -6,7 +6,7 @@ import ( "os/exec" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func LoggedInUsers() []string { diff --git a/security/widget.go b/security/widget.go index 8982412f..f4f67d0a 100644 --- a/security/widget.go +++ b/security/widget.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/security/widget_windows.go b/security/widget_windows.go index 64f7ded2..5fa2e4c3 100644 --- a/security/widget_windows.go +++ b/security/widget_windows.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/security/wifi.go b/security/wifi.go index b178e9b4..687b340a 100644 --- a/security/wifi.go +++ b/security/wifi.go @@ -5,7 +5,7 @@ import ( "runtime" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) // https://github.com/yelinaung/wifi-name/blob/master/wifi-name.go diff --git a/spotify/widget.go b/spotify/widget.go index 3c0b5fb4..c6b4aadb 100644 --- a/spotify/widget.go +++ b/spotify/widget.go @@ -6,8 +6,8 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" "github.com/sticreations/spotigopher/spotigopher" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/spotifyweb/widget.go b/spotifyweb/widget.go index fb222a4d..02723ffc 100644 --- a/spotifyweb/widget.go +++ b/spotifyweb/widget.go @@ -9,8 +9,8 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/logger" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/logger" + "github.com/wtfutil/wtf/wtf" "github.com/zmb3/spotify" ) diff --git a/status/widget.go b/status/widget.go index 78476dd4..9af4c26b 100644 --- a/status/widget.go +++ b/status/widget.go @@ -2,7 +2,7 @@ package status import ( "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/system/system_info.go b/system/system_info.go index a2a26ece..4fa28be4 100644 --- a/system/system_info.go +++ b/system/system_info.go @@ -7,7 +7,7 @@ import ( "runtime" "strings" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type SystemInfo struct { diff --git a/system/widget.go b/system/widget.go index 769aaf2d..063930f7 100644 --- a/system/widget.go +++ b/system/widget.go @@ -5,7 +5,7 @@ import ( "time" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/textfile/widget.go b/textfile/widget.go index 9aa8649f..6125681b 100644 --- a/textfile/widget.go +++ b/textfile/widget.go @@ -15,7 +15,7 @@ import ( "github.com/gdamore/tcell" "github.com/radovskyb/watcher" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/todo/display.go b/todo/display.go index e00e6e02..684a9dee 100644 --- a/todo/display.go +++ b/todo/display.go @@ -5,8 +5,8 @@ import ( "strconv" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/checklist" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/checklist" + "github.com/wtfutil/wtf/wtf" ) const checkWidth = 4 @@ -15,7 +15,7 @@ func (widget *Widget) display() { str := "" newList := checklist.NewChecklist() - offset := 0 + offset := 0 for idx, item := range widget.list.UncheckedItems() { str = str + widget.formattedItemLine(idx, item, widget.list.SelectedItem(), widget.list.LongestLine()) @@ -24,7 +24,7 @@ func (widget *Widget) display() { } for idx, item := range widget.list.CheckedItems() { - str = str + widget.formattedItemLine(idx + offset, item, widget.list.SelectedItem(), widget.list.LongestLine()) + str = str + widget.formattedItemLine(idx+offset, item, widget.list.SelectedItem(), widget.list.LongestLine()) newList.Items = append(newList.Items, item) } diff --git a/todo/widget.go b/todo/widget.go index ce0e5cff..1553921b 100644 --- a/todo/widget.go +++ b/todo/widget.go @@ -6,9 +6,9 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/cfg" - "github.com/senorprogrammer/wtf/checklist" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/cfg" + "github.com/wtfutil/wtf/checklist" + "github.com/wtfutil/wtf/wtf" "gopkg.in/yaml.v2" ) diff --git a/todoist/display.go b/todoist/display.go index 604b3de6..0352b6e6 100644 --- a/todoist/display.go +++ b/todoist/display.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const checkWidth = 4 diff --git a/todoist/widget.go b/todoist/widget.go index 344db45f..e59d4751 100644 --- a/todoist/widget.go +++ b/todoist/widget.go @@ -6,7 +6,7 @@ import ( "github.com/darkSasori/todoist" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/travisci/client.go b/travisci/client.go index dbd906fc..a37a0d7b 100644 --- a/travisci/client.go +++ b/travisci/client.go @@ -10,7 +10,7 @@ import ( "net/url" "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) var TRAVIS_HOSTS = map[bool]string{ diff --git a/travisci/widget.go b/travisci/widget.go index 57e7a491..9ab5ecc8 100644 --- a/travisci/widget.go +++ b/travisci/widget.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" "strings" ) diff --git a/trello/client.go b/trello/client.go index dcccaf55..3252eb57 100644 --- a/trello/client.go +++ b/trello/client.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/adlio/trello" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func GetCards(client *trello.Client, lists map[string]string) (*SearchResult, error) { diff --git a/trello/widget.go b/trello/widget.go index 63e99835..96b017d8 100644 --- a/trello/widget.go +++ b/trello/widget.go @@ -6,7 +6,7 @@ import ( "github.com/adlio/trello" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/twitter/client.go b/twitter/client.go index 0d44da04..e03a6a9c 100644 --- a/twitter/client.go +++ b/twitter/client.go @@ -6,7 +6,7 @@ import ( "os" "strconv" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) /* NOTE: Currently single application ONLY diff --git a/twitter/widget.go b/twitter/widget.go index 181f0868..afdefa7e 100644 --- a/twitter/widget.go +++ b/twitter/widget.go @@ -8,7 +8,7 @@ import ( "github.com/dustin/go-humanize" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/vendor/github.com/gdamore/tcell/README.md b/vendor/github.com/gdamore/tcell/README.md index ed7297b5..b024911b 100644 --- a/vendor/github.com/gdamore/tcell/README.md +++ b/vendor/github.com/gdamore/tcell/README.md @@ -24,7 +24,7 @@ ways. It also adds substantial functionality beyond termbox. * [tview](https://github.com/rivo/tview) - rich interactive widgets for terminal UIs * [tui-go](https://github.com/marcusolsson/tui-go) - UI library for terminal apps * [gomandelbrot](https://github.com/rgm3/gomandelbrot) - Mandelbrot! -* [WTF](https://github.com/senorprogrammer/wtf)- Personal information dashboard for your terminal +* [WTF](https://github.com/wtfutil/wtf)- Personal information dashboard for your terminal * [browsh](https://github.com/browsh-org/browsh) - A fully-modern text-based browser, rendering to TTY and browsers ([video](https://www.youtube.com/watch?v=HZq86XfBoRo)) ## Pure Go Terminfo Database diff --git a/weatherservices/prettyweather/widget.go b/weatherservices/prettyweather/widget.go index b541a0a2..eb1963a7 100644 --- a/weatherservices/prettyweather/widget.go +++ b/weatherservices/prettyweather/widget.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct { diff --git a/weatherservices/weather/display.go b/weatherservices/weather/display.go index 10ddd973..12b6119d 100644 --- a/weatherservices/weather/display.go +++ b/weatherservices/weather/display.go @@ -5,7 +5,7 @@ import ( "strings" owm "github.com/briandowns/openweathermap" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) func (widget *Widget) display() { diff --git a/weatherservices/weather/widget.go b/weatherservices/weather/widget.go index c2208c32..b7dba99e 100644 --- a/weatherservices/weather/widget.go +++ b/weatherservices/weather/widget.go @@ -6,7 +6,7 @@ import ( owm "github.com/briandowns/openweathermap" "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) const HelpText = ` diff --git a/wtf_tests/bargraph/bargraph_test.go b/wtf_tests/bargraph/bargraph_test.go index 79b87efa..eaad50af 100644 --- a/wtf_tests/bargraph/bargraph_test.go +++ b/wtf_tests/bargraph/bargraph_test.go @@ -3,8 +3,8 @@ package bargraph_test import ( "testing" - . "github.com/senorprogrammer/wtf/wtf" . "github.com/stretchr/testify/assert" + . "github.com/wtfutil/wtf/wtf" ) // MakeData - Create sample data @@ -15,12 +15,12 @@ func makeData() []Bar { var stats [lineCount]Bar stats[0] = Bar{ - Label: "Jun 27, 2018", + Label: "Jun 27, 2018", Percent: 20, } stats[1] = Bar{ - Label: "Jul 09, 2018", + Label: "Jul 09, 2018", Percent: 80, } @@ -35,6 +35,6 @@ func TestOutput(t *testing.T) { Equal(t, "Jun 27, 2018[[red]****[white] ] 20\nJul 09, 2018[[red]****************[white] ] 80\n", - result, + result, ) } diff --git a/wtf_tests/colors_test.go b/wtf_tests/colors_test.go index 8c2e6f77..8f7ddea6 100644 --- a/wtf_tests/colors_test.go +++ b/wtf_tests/colors_test.go @@ -3,8 +3,8 @@ package wtf_tests import ( "testing" - . "github.com/senorprogrammer/wtf/wtf" . "github.com/stretchr/testify/assert" + . "github.com/wtfutil/wtf/wtf" ) func TestASCIItoTviewColors(t *testing.T) { diff --git a/wtf_tests/datetime_test.go b/wtf_tests/datetime_test.go index 8415d345..6106e1b1 100644 --- a/wtf_tests/datetime_test.go +++ b/wtf_tests/datetime_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - . "github.com/senorprogrammer/wtf/wtf" . "github.com/stretchr/testify/assert" + . "github.com/wtfutil/wtf/wtf" ) func TestIsToday(t *testing.T) { diff --git a/wtf_tests/position_test.go b/wtf_tests/position_test.go index 370a3373..ed5cbd4c 100644 --- a/wtf_tests/position_test.go +++ b/wtf_tests/position_test.go @@ -3,7 +3,7 @@ package wtf_tests import ( "testing" - . "github.com/senorprogrammer/wtf/wtf" + . "github.com/wtfutil/wtf/wtf" ) func TestPosition(t *testing.T) { diff --git a/wtf_tests/utils_test.go b/wtf_tests/utils_test.go index d78425cc..e23c9fc6 100644 --- a/wtf_tests/utils_test.go +++ b/wtf_tests/utils_test.go @@ -3,8 +3,8 @@ package wtf_tests import ( "testing" - . "github.com/senorprogrammer/wtf/wtf" . "github.com/stretchr/testify/assert" + . "github.com/wtfutil/wtf/wtf" ) /* -------------------- CenterText() -------------------- */ diff --git a/zendesk/client.go b/zendesk/client.go index aea70fa7..e093a7e5 100644 --- a/zendesk/client.go +++ b/zendesk/client.go @@ -8,7 +8,7 @@ import ( "net/http" "os" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Resource struct { diff --git a/zendesk/widget.go b/zendesk/widget.go index 767799e3..816a48e4 100644 --- a/zendesk/widget.go +++ b/zendesk/widget.go @@ -6,7 +6,7 @@ import ( "github.com/gdamore/tcell" "github.com/rivo/tview" - "github.com/senorprogrammer/wtf/wtf" + "github.com/wtfutil/wtf/wtf" ) type Widget struct {