aboutsummaryrefslogtreecommitdiff
path: root/Sources/Helpers.swift
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-12-12 13:07:40 -0700
committerNavan Chauhan <navanchauhan@gmail.com>2023-12-12 13:07:40 -0700
commit315e2510d577b7303f4b8204a4555aad26bc41a3 (patch)
treeec16e87bda839f71424d489d1e8dda96c69d504c /Sources/Helpers.swift
parentdf466eba1bd4c9728fdb66e1a5fcf0e89203cf39 (diff)
move files
Diffstat (limited to 'Sources/Helpers.swift')
-rw-r--r--Sources/Helpers.swift9
1 files changed, 0 insertions, 9 deletions
diff --git a/Sources/Helpers.swift b/Sources/Helpers.swift
deleted file mode 100644
index caf841b..0000000
--- a/Sources/Helpers.swift
+++ /dev/null
@@ -1,9 +0,0 @@
-import Foundation
-
-let versionString = "generated and served by swift-gopher/1.0.0" // TODO: Handle automatic versioning
-
-func buildVersionStringResponse() -> String {
- let repeatedString = "i" + String(repeating: "-", count: 80) + "\t\terror.host\t1\r\n"
- let versionResponseString = "i" + String(repeating: " ", count: 80 - versionString.count) + versionString + "\t\terror.host\t1\r\n"
- return "\(repeatedString)\(versionResponseString)"
-} \ No newline at end of file