remove broken code
This commit is contained in:
		
							parent
							
								
									f997907bf1
								
							
						
					
					
						commit
						065fc2c838
					
				
					 1 changed files with 0 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -2,23 +2,6 @@ const std = @import("std");
 | 
			
		|||
const models = @import("models.zig");
 | 
			
		||||
const json = @import("json.zig");
 | 
			
		||||
 | 
			
		||||
const Model = []struct {
 | 
			
		||||
    smithy: []const u8,
 | 
			
		||||
metadata: struct {
 | 
			
		||||
    suppressions: []struct {
 | 
			
		||||
        id: []const u8,
 | 
			
		||||
        namespace: []const u8,
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    shapes: struct
 | 
			
		||||
};
 | 
			
		||||
const model = {
 | 
			
		||||
    var stream = json.TokenStream.init(models);
 | 
			
		||||
    const res = json.parse(Config, &stream, .{});
 | 
			
		||||
    // Assert no error can occur since we are
 | 
			
		||||
    // parsing this JSON at comptime!
 | 
			
		||||
    break :x res catch unreachable;
 | 
			
		||||
};
 | 
			
		||||
// TODO: Make generic
 | 
			
		||||
fn Services() type {
 | 
			
		||||
    const types = [_]type{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue