From 315e2510d577b7303f4b8204a4555aad26bc41a3 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 12 Dec 2023 13:07:40 -0700 Subject: move files --- Sources/Helpers.swift | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 Sources/Helpers.swift (limited to 'Sources/Helpers.swift') 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 -- cgit v1.2.3