const Interface = @import("Interface.zig"); const Context = @import("context.zig").Context; const Response = @import("../Response.zig"); pub fn Static(route: anytype, content: []const u8) Context(route) { const get = struct { fn get(_: Context(route).Request) Response { return .ok(.string(content)); } }.get; return .{ .get = get }; }