@@ -710,11 +710,6 @@ func (s *Struct) ForeachRead(trans func(dbtag string, isQuoted bool, field refle
710710 s .foreachReadWithTags (s .withTags , s .withoutTags , trans )
711711}
712712
713- // ForeachReadForTag foreach tags with tag.
714- func (s * Struct ) ForeachReadForTag (tag string , trans func (dbtag string , isQuoted bool , field reflect.StructField )) {
715- s .foreachReadWithTags ([]string {tag }, nil , trans )
716- }
717-
718713func (s * Struct ) foreachReadWithTags (with , without []string , trans func (dbtag string , isQuoted bool , field reflect.StructField )) {
719714 sfs := s .structFieldsParser ()
720715 tagged := sfs .FilterTags (with , without )
@@ -731,11 +726,6 @@ func (s *Struct) ForeachWrite(trans func(dbtag string, isQuoted bool, field refl
731726 s .foreachWriteWithTags (s .withTags , s .withoutTags , trans )
732727}
733728
734- // ForeachWriteForTag foreach tags with tag.
735- func (s * Struct ) ForeachWriteForTag (tag string , trans func (dbtag string , isQuoted bool , field reflect.StructField )) {
736- s .foreachWriteWithTags ([]string {tag }, nil , trans )
737- }
738-
739729func (s * Struct ) foreachWriteWithTags (with , without []string , trans func (dbtag string , isQuoted bool , field reflect.StructField )) {
740730 sfs := s .structFieldsParser ()
741731 tagged := sfs .FilterTags (with , without )
0 commit comments