Skip to content

Commit

Permalink
feat: Refactor definitions with pure golang struct (#984)
Browse files Browse the repository at this point in the history
* Refactor generate features

Signed-off-by: Xuanwo <[email protected]>

* Don't neet data

Signed-off-by: Xuanwo <[email protected]>

* refactor gen info

Signed-off-by: Xuanwo <[email protected]>

* Refactor object

Signed-off-by: Xuanwo <[email protected]>

* Refactor pairs

Signed-off-by: Xuanwo <[email protected]>

* Refactor gen_op

Signed-off-by: Xuanwo <[email protected]>

* Add buildable draft

Signed-off-by: Xuanwo <[email protected]>

* Add namespace

Signed-off-by: Xuanwo <[email protected]>

* Implement pairs

Signed-off-by: Xuanwo <[email protected]>

* Populate into factory

Signed-off-by: Xuanwo <[email protected]>

* Remove generate for iowrap

Signed-off-by: Xuanwo <[email protected]>

* Make golangci-lint happy

Signed-off-by: Xuanwo <[email protected]>

* Make golangcilint happy

Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Nov 2, 2021
1 parent fb2f311 commit 89eb0bd
Show file tree
Hide file tree
Showing 57 changed files with 4,029 additions and 5,576 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ vet:
go vet ./...

generate:
go generate -tags tools ./...
go generate ./...
gofmt -w -l .

build: tidy generate format check
go build -tags tools ./...
go build ./...

build-all:
for f in $$(find . -name go.mod); \
Expand Down
54 changes: 0 additions & 54 deletions cmd/definitions/gen_feature.go

This file was deleted.

67 changes: 0 additions & 67 deletions cmd/definitions/gen_func.go

This file was deleted.

120 changes: 0 additions & 120 deletions cmd/definitions/gen_op.go

This file was deleted.

Loading

0 comments on commit 89eb0bd

Please sign in to comment.