Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
imperfect-fourth committed Nov 20, 2024
1 parent 74adce2 commit d01e057
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions cmd/eywagen/eywatest/eywatest.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type testTable struct {
Name string `json:"name"`
Age *int `json:"age"`
ID int `json:"id,omitempty"`
iD int32 `json:"idd,omitempty"`
IDd int32 `json:"idd,omitempty"`
custom *customType `json:"custom"`
testTable2 *testTable2 `json:"test_table2"`
JsonBCol jsonbcol `json:"jsonb_col"`
Expand All @@ -25,7 +25,6 @@ type X[T ~string, U ~int] string

var (
state1 eywa.Enum[status] = "state1"
state2 eywa.Enum[status] = "state2"
)

type R string
Expand Down
12 changes: 6 additions & 6 deletions insert_one.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ type InsertOneQueryBuilder[M Model] struct {
QuerySkeleton[M]
}

//func (iq InsertOneQueryBuilder[M]) OnConstraint(constraint eywa.Constraint[M], field FieldName[M], fields ...FieldName[M]) InsertOneQuery[M] {
// return InsertOneQuery[M]{
// iq: &iq,
// fields: append(fields, field),
// }
//}
// func (iq InsertOneQueryBuilder[M]) OnConstraint(constraint eywa.Constraint[M], field FieldName[M], fields ...FieldName[M]) InsertOneQuery[M] {
// return InsertOneQuery[M]{
// iq: &iq,
// fields: append(fields, field),
// }
// }

func (iq *InsertOneQueryBuilder[M]) MarshalGQL() string {
return fmt.Sprintf(
Expand Down

0 comments on commit d01e057

Please sign in to comment.