From 7a49acb50a3c6c5f5a96bf7705b9a66a3057d0f2 Mon Sep 17 00:00:00 2001 From: Bora Alper Date: Fri, 2 Mar 2018 18:56:17 +0000 Subject: [PATCH] created /cmd and /pkg directories --- .../magneticod}/bittorrent/operations.go | 0 .../magneticod}/bittorrent/operations_test.go | 0 .../magneticod}/bittorrent/sinkMetadata.go | 0 .../magneticod}/dht/mainline/codec.go | 0 .../magneticod}/dht/mainline/codec_test.go | 0 .../magneticod}/dht/mainline/protocol.go | 0 .../magneticod}/dht/mainline/protocol_test.go | 0 .../magneticod}/dht/mainline/service.go | 0 .../magneticod}/dht/mainline/transport.go | 0 .../magneticod}/dht/mainline/transport_test.go | 0 {magneticod => cmd/magneticod}/dht/managers.go | 0 {magneticod => cmd/magneticod}/main.go | 0 {magneticod => cmd/magneticod}/main_test.go | 0 .../magneticow}/data/static/assets/feed.png | Bin .../magneticow}/data/static/assets/magnet.gif | Bin .../data/static/fonts/NotoMono/LICENSE_OFL.txt | 0 .../data/static/fonts/NotoMono/Regular.ttf | Bin .../data/static/fonts/NotoSansUI/Bold.ttf | Bin .../data/static/fonts/NotoSansUI/BoldItalic.ttf | Bin .../data/static/fonts/NotoSansUI/Italic.ttf | Bin .../data/static/fonts/NotoSansUI/LICENSE_OFL.txt | 0 .../data/static/fonts/NotoSansUI/Regular.ttf | Bin .../data/static/scripts/plotly-v1.26.1.min.js | 0 .../magneticow}/data/static/scripts/statistics.js | 0 .../magneticow}/data/static/scripts/torrent.js | 0 .../magneticow}/data/static/styles/essential.css | 0 .../magneticow}/data/static/styles/homepage.css | 0 .../magneticow}/data/static/styles/reset.css | 0 .../magneticow}/data/static/styles/statistics.css | 0 .../magneticow}/data/static/styles/torrent.css | 0 .../magneticow}/data/static/styles/torrents.css | 0 .../magneticow}/data/templates/feed.xml | 0 .../magneticow}/data/templates/homepage.html | 0 .../magneticow}/data/templates/statistics.html | 0 .../magneticow}/data/templates/torrent.html | 0 .../magneticow}/data/templates/torrents.html | 0 {magneticow => cmd/magneticow}/main.go | 0 {persistence => pkg/persistence}/interface.go | 0 {persistence => pkg/persistence}/sqlite3.go | 0 39 files changed, 0 insertions(+), 0 deletions(-) rename {magneticod => cmd/magneticod}/bittorrent/operations.go (100%) rename {magneticod => cmd/magneticod}/bittorrent/operations_test.go (100%) rename {magneticod => cmd/magneticod}/bittorrent/sinkMetadata.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/codec.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/codec_test.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/protocol.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/protocol_test.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/service.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/transport.go (100%) rename {magneticod => cmd/magneticod}/dht/mainline/transport_test.go (100%) rename {magneticod => cmd/magneticod}/dht/managers.go (100%) rename {magneticod => cmd/magneticod}/main.go (100%) rename {magneticod => cmd/magneticod}/main_test.go (100%) rename {magneticow => cmd/magneticow}/data/static/assets/feed.png (100%) rename {magneticow => cmd/magneticow}/data/static/assets/magnet.gif (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoMono/LICENSE_OFL.txt (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoMono/Regular.ttf (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoSansUI/Bold.ttf (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoSansUI/BoldItalic.ttf (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoSansUI/Italic.ttf (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoSansUI/LICENSE_OFL.txt (100%) rename {magneticow => cmd/magneticow}/data/static/fonts/NotoSansUI/Regular.ttf (100%) rename {magneticow => cmd/magneticow}/data/static/scripts/plotly-v1.26.1.min.js (100%) rename {magneticow => cmd/magneticow}/data/static/scripts/statistics.js (100%) rename {magneticow => cmd/magneticow}/data/static/scripts/torrent.js (100%) rename {magneticow => cmd/magneticow}/data/static/styles/essential.css (100%) rename {magneticow => cmd/magneticow}/data/static/styles/homepage.css (100%) rename {magneticow => cmd/magneticow}/data/static/styles/reset.css (100%) rename {magneticow => cmd/magneticow}/data/static/styles/statistics.css (100%) rename {magneticow => cmd/magneticow}/data/static/styles/torrent.css (100%) rename {magneticow => cmd/magneticow}/data/static/styles/torrents.css (100%) rename {magneticow => cmd/magneticow}/data/templates/feed.xml (100%) rename {magneticow => cmd/magneticow}/data/templates/homepage.html (100%) rename {magneticow => cmd/magneticow}/data/templates/statistics.html (100%) rename {magneticow => cmd/magneticow}/data/templates/torrent.html (100%) rename {magneticow => cmd/magneticow}/data/templates/torrents.html (100%) rename {magneticow => cmd/magneticow}/main.go (100%) rename {persistence => pkg/persistence}/interface.go (100%) rename {persistence => pkg/persistence}/sqlite3.go (100%) diff --git a/magneticod/bittorrent/operations.go b/cmd/magneticod/bittorrent/operations.go similarity index 100% rename from magneticod/bittorrent/operations.go rename to cmd/magneticod/bittorrent/operations.go diff --git a/magneticod/bittorrent/operations_test.go b/cmd/magneticod/bittorrent/operations_test.go similarity index 100% rename from magneticod/bittorrent/operations_test.go rename to cmd/magneticod/bittorrent/operations_test.go diff --git a/magneticod/bittorrent/sinkMetadata.go b/cmd/magneticod/bittorrent/sinkMetadata.go similarity index 100% rename from magneticod/bittorrent/sinkMetadata.go rename to cmd/magneticod/bittorrent/sinkMetadata.go diff --git a/magneticod/dht/mainline/codec.go b/cmd/magneticod/dht/mainline/codec.go similarity index 100% rename from magneticod/dht/mainline/codec.go rename to cmd/magneticod/dht/mainline/codec.go diff --git a/magneticod/dht/mainline/codec_test.go b/cmd/magneticod/dht/mainline/codec_test.go similarity index 100% rename from magneticod/dht/mainline/codec_test.go rename to cmd/magneticod/dht/mainline/codec_test.go diff --git a/magneticod/dht/mainline/protocol.go b/cmd/magneticod/dht/mainline/protocol.go similarity index 100% rename from magneticod/dht/mainline/protocol.go rename to cmd/magneticod/dht/mainline/protocol.go diff --git a/magneticod/dht/mainline/protocol_test.go b/cmd/magneticod/dht/mainline/protocol_test.go similarity index 100% rename from magneticod/dht/mainline/protocol_test.go rename to cmd/magneticod/dht/mainline/protocol_test.go diff --git a/magneticod/dht/mainline/service.go b/cmd/magneticod/dht/mainline/service.go similarity index 100% rename from magneticod/dht/mainline/service.go rename to cmd/magneticod/dht/mainline/service.go diff --git a/magneticod/dht/mainline/transport.go b/cmd/magneticod/dht/mainline/transport.go similarity index 100% rename from magneticod/dht/mainline/transport.go rename to cmd/magneticod/dht/mainline/transport.go diff --git a/magneticod/dht/mainline/transport_test.go b/cmd/magneticod/dht/mainline/transport_test.go similarity index 100% rename from magneticod/dht/mainline/transport_test.go rename to cmd/magneticod/dht/mainline/transport_test.go diff --git a/magneticod/dht/managers.go b/cmd/magneticod/dht/managers.go similarity index 100% rename from magneticod/dht/managers.go rename to cmd/magneticod/dht/managers.go diff --git a/magneticod/main.go b/cmd/magneticod/main.go similarity index 100% rename from magneticod/main.go rename to cmd/magneticod/main.go diff --git a/magneticod/main_test.go b/cmd/magneticod/main_test.go similarity index 100% rename from magneticod/main_test.go rename to cmd/magneticod/main_test.go diff --git a/magneticow/data/static/assets/feed.png b/cmd/magneticow/data/static/assets/feed.png similarity index 100% rename from magneticow/data/static/assets/feed.png rename to cmd/magneticow/data/static/assets/feed.png diff --git a/magneticow/data/static/assets/magnet.gif b/cmd/magneticow/data/static/assets/magnet.gif similarity index 100% rename from magneticow/data/static/assets/magnet.gif rename to cmd/magneticow/data/static/assets/magnet.gif diff --git a/magneticow/data/static/fonts/NotoMono/LICENSE_OFL.txt b/cmd/magneticow/data/static/fonts/NotoMono/LICENSE_OFL.txt similarity index 100% rename from magneticow/data/static/fonts/NotoMono/LICENSE_OFL.txt rename to cmd/magneticow/data/static/fonts/NotoMono/LICENSE_OFL.txt diff --git a/magneticow/data/static/fonts/NotoMono/Regular.ttf b/cmd/magneticow/data/static/fonts/NotoMono/Regular.ttf similarity index 100% rename from magneticow/data/static/fonts/NotoMono/Regular.ttf rename to cmd/magneticow/data/static/fonts/NotoMono/Regular.ttf diff --git a/magneticow/data/static/fonts/NotoSansUI/Bold.ttf b/cmd/magneticow/data/static/fonts/NotoSansUI/Bold.ttf similarity index 100% rename from magneticow/data/static/fonts/NotoSansUI/Bold.ttf rename to cmd/magneticow/data/static/fonts/NotoSansUI/Bold.ttf diff --git a/magneticow/data/static/fonts/NotoSansUI/BoldItalic.ttf b/cmd/magneticow/data/static/fonts/NotoSansUI/BoldItalic.ttf similarity index 100% rename from magneticow/data/static/fonts/NotoSansUI/BoldItalic.ttf rename to cmd/magneticow/data/static/fonts/NotoSansUI/BoldItalic.ttf diff --git a/magneticow/data/static/fonts/NotoSansUI/Italic.ttf b/cmd/magneticow/data/static/fonts/NotoSansUI/Italic.ttf similarity index 100% rename from magneticow/data/static/fonts/NotoSansUI/Italic.ttf rename to cmd/magneticow/data/static/fonts/NotoSansUI/Italic.ttf diff --git a/magneticow/data/static/fonts/NotoSansUI/LICENSE_OFL.txt b/cmd/magneticow/data/static/fonts/NotoSansUI/LICENSE_OFL.txt similarity index 100% rename from magneticow/data/static/fonts/NotoSansUI/LICENSE_OFL.txt rename to cmd/magneticow/data/static/fonts/NotoSansUI/LICENSE_OFL.txt diff --git a/magneticow/data/static/fonts/NotoSansUI/Regular.ttf b/cmd/magneticow/data/static/fonts/NotoSansUI/Regular.ttf similarity index 100% rename from magneticow/data/static/fonts/NotoSansUI/Regular.ttf rename to cmd/magneticow/data/static/fonts/NotoSansUI/Regular.ttf diff --git a/magneticow/data/static/scripts/plotly-v1.26.1.min.js b/cmd/magneticow/data/static/scripts/plotly-v1.26.1.min.js similarity index 100% rename from magneticow/data/static/scripts/plotly-v1.26.1.min.js rename to cmd/magneticow/data/static/scripts/plotly-v1.26.1.min.js diff --git a/magneticow/data/static/scripts/statistics.js b/cmd/magneticow/data/static/scripts/statistics.js similarity index 100% rename from magneticow/data/static/scripts/statistics.js rename to cmd/magneticow/data/static/scripts/statistics.js diff --git a/magneticow/data/static/scripts/torrent.js b/cmd/magneticow/data/static/scripts/torrent.js similarity index 100% rename from magneticow/data/static/scripts/torrent.js rename to cmd/magneticow/data/static/scripts/torrent.js diff --git a/magneticow/data/static/styles/essential.css b/cmd/magneticow/data/static/styles/essential.css similarity index 100% rename from magneticow/data/static/styles/essential.css rename to cmd/magneticow/data/static/styles/essential.css diff --git a/magneticow/data/static/styles/homepage.css b/cmd/magneticow/data/static/styles/homepage.css similarity index 100% rename from magneticow/data/static/styles/homepage.css rename to cmd/magneticow/data/static/styles/homepage.css diff --git a/magneticow/data/static/styles/reset.css b/cmd/magneticow/data/static/styles/reset.css similarity index 100% rename from magneticow/data/static/styles/reset.css rename to cmd/magneticow/data/static/styles/reset.css diff --git a/magneticow/data/static/styles/statistics.css b/cmd/magneticow/data/static/styles/statistics.css similarity index 100% rename from magneticow/data/static/styles/statistics.css rename to cmd/magneticow/data/static/styles/statistics.css diff --git a/magneticow/data/static/styles/torrent.css b/cmd/magneticow/data/static/styles/torrent.css similarity index 100% rename from magneticow/data/static/styles/torrent.css rename to cmd/magneticow/data/static/styles/torrent.css diff --git a/magneticow/data/static/styles/torrents.css b/cmd/magneticow/data/static/styles/torrents.css similarity index 100% rename from magneticow/data/static/styles/torrents.css rename to cmd/magneticow/data/static/styles/torrents.css diff --git a/magneticow/data/templates/feed.xml b/cmd/magneticow/data/templates/feed.xml similarity index 100% rename from magneticow/data/templates/feed.xml rename to cmd/magneticow/data/templates/feed.xml diff --git a/magneticow/data/templates/homepage.html b/cmd/magneticow/data/templates/homepage.html similarity index 100% rename from magneticow/data/templates/homepage.html rename to cmd/magneticow/data/templates/homepage.html diff --git a/magneticow/data/templates/statistics.html b/cmd/magneticow/data/templates/statistics.html similarity index 100% rename from magneticow/data/templates/statistics.html rename to cmd/magneticow/data/templates/statistics.html diff --git a/magneticow/data/templates/torrent.html b/cmd/magneticow/data/templates/torrent.html similarity index 100% rename from magneticow/data/templates/torrent.html rename to cmd/magneticow/data/templates/torrent.html diff --git a/magneticow/data/templates/torrents.html b/cmd/magneticow/data/templates/torrents.html similarity index 100% rename from magneticow/data/templates/torrents.html rename to cmd/magneticow/data/templates/torrents.html diff --git a/magneticow/main.go b/cmd/magneticow/main.go similarity index 100% rename from magneticow/main.go rename to cmd/magneticow/main.go diff --git a/persistence/interface.go b/pkg/persistence/interface.go similarity index 100% rename from persistence/interface.go rename to pkg/persistence/interface.go diff --git a/persistence/sqlite3.go b/pkg/persistence/sqlite3.go similarity index 100% rename from persistence/sqlite3.go rename to pkg/persistence/sqlite3.go