aboutsummaryrefslogtreecommitdiff
path: root/cmd/mybittorrent/file.go
diff options
context:
space:
mode:
authorjet2tlf <jet2tlf@gmail.com>2024-06-03 17:54:41 +0000
committerjet2tlf <jet2tlf@gmail.com>2024-06-03 17:54:41 +0000
commit944cfe99f03034c37b2d963f7048c41c56f21b9f (patch)
treeb35fe96dedc9efe821cd2ef0f8f902e28c5b42ef /cmd/mybittorrent/file.go
parentb01c839940e6ea22ddc28aa0c975d3cd3da69e72 (diff)
downloadbittorrent-go-944cfe99f03034c37b2d963f7048c41c56f21b9f.tar.gz
bittorrent-go-944cfe99f03034c37b2d963f7048c41c56f21b9f.zip
codecrafters submit [skip ci]
Diffstat (limited to 'cmd/mybittorrent/file.go')
-rw-r--r--cmd/mybittorrent/file.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmd/mybittorrent/file.go b/cmd/mybittorrent/file.go
deleted file mode 100644
index 498ea3f..0000000
--- a/cmd/mybittorrent/file.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package main
-
-type Meta struct {
- Announce string `bencode:"announce"`
- Info FileInfo `bencode:"info"`
-}
-
-type FileInfo struct {
- Length int `bencode:"length"`
- Name string `bencode:"name"`
- PieceLength int `bencode:"piece length"`
- Pieces string `bencode:"pieces"`
-}