From 0ef5dd06baef306274c131eaf7e6f2763205503b Mon Sep 17 00:00:00 2001 From: miyamo2 <79917704+miyamo2@users.noreply.github.com> Date: Fri, 30 Aug 2024 06:55:10 +0900 Subject: [PATCH] refactor: remove unnecessary code (#5) --- internal/generate.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/generate.go b/internal/generate.go index a1416f3..82f2858 100644 --- a/internal/generate.go +++ b/internal/generate.go @@ -70,8 +70,6 @@ type Field struct { Matches bool Is bool Isnt bool - As bool - Asnt bool } // Generate generates the iterator based on the source file. @@ -241,10 +239,6 @@ FiltersRange: field.Is = true case "isnt": field.Isnt = true - case "as": - field.As = true - case "asnt": - field.Asnt = true case "*": field.Eq = true field.Ne = true @@ -255,8 +249,6 @@ FiltersRange: field.Matches = true field.Is = true field.Isnt = true - field.As = true - field.Asnt = true break FiltersRange } }