Skip to content

Commit

Permalink
remove old struct libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
RangelReale committed Jun 7, 2024
1 parent 56ba10e commit a6133ef
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 389 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,6 @@ jobs:
- name: Test
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./...

- name: Build structargs
working-directory: ./sq/structargs
run: go build -v ./...
- name: Test structargs
working-directory: ./sq/structargs
run: go test -v ./...

- name: Build reflectxargs
working-directory: ./sq/reflectxargs
run: go build -v ./...
- name: Test reflectxargs
working-directory: ./sq/reflectxargs
run: go test -v ./...

- name: Upload coverage
uses: shogo82148/actions-goveralls@v1
with:
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ library heavily discourages.
* [MySQL](https://pkg.go.dev/github.com/rrgmc/litsql/dialect/mysql)
* [SQLite](https://pkg.go.dev/github.com/rrgmc/litsql/dialect/sqlite)


## Sub-packages

* [structargs](https://pkg.go.dev/github.com/rrgmc/litsql/sq/structargs): get named arguments from struct fields
* [reflectxargs](https://pkg.go.dev/github.com/rrgmc/litsql/sq/reflectxargs): get named arguments from struct fields using reflectx

## Examples

```go
Expand Down
8 changes: 0 additions & 8 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
version: '3'

tasks:
update-version:
cmds:
- 'cd sq/structargs; go mod edit -require=github.com/rrgmc/litsql@{{.VERSION}}'
- 'cd sq/reflectxargs; go mod edit -require=github.com/rrgmc/litsql@{{.VERSION}}'
requires:
vars: [VERSION]
current-version:
cmds:
- 'echo "Version: {{.GIT_TAG_CURRENT}}"'
Expand All @@ -31,8 +25,6 @@ tasks:
internal: true
prompt: "Creating and pushing tag {{.VERSION}}. Are you sure?"
cmds:
- 'git tag sq/structargs/{{.VERSION}}'
- 'git tag sq/reflectxargs/{{.VERSION}}'
- 'git tag {{.VERSION}}'
- 'git push --tags'
requires:
Expand Down
7 changes: 0 additions & 7 deletions sq/reflectxargs/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions sq/reflectxargs/go.mod

This file was deleted.

12 changes: 0 additions & 12 deletions sq/reflectxargs/go.sum

This file was deleted.

13 changes: 0 additions & 13 deletions sq/reflectxargs/parseargs.go

This file was deleted.

88 changes: 0 additions & 88 deletions sq/reflectxargs/reflectxargs.go

This file was deleted.

62 changes: 0 additions & 62 deletions sq/reflectxargs/reflectxargs_test.go

This file was deleted.

12 changes: 0 additions & 12 deletions sq/reflectxargs/util.go

This file was deleted.

9 changes: 0 additions & 9 deletions sq/structargs/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions sq/structargs/go.mod

This file was deleted.

6 changes: 0 additions & 6 deletions sq/structargs/go.sum

This file was deleted.

13 changes: 0 additions & 13 deletions sq/structargs/parseargs.go

This file was deleted.

50 changes: 0 additions & 50 deletions sq/structargs/structargs.go

This file was deleted.

Loading

0 comments on commit a6133ef

Please sign in to comment.