Skip to content

Commit

Permalink
feat: provide generated and verified interface
Browse files Browse the repository at this point in the history
Related Nerzal#438

Generates interface from struct and verifies implementation. This doesn't modify `NewClient` as that requires a larger refactor.
  • Loading branch information
rcaught committed Aug 19, 2024
1 parent 04dbacf commit 6c4d279
Show file tree
Hide file tree
Showing 5 changed files with 602 additions and 276 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ start-keycloak: stop-keycloak

stop-keycloak:
docker compose down

generate-gocloak-interface:
@echo "Remember to: go install github.com/vburenin/ifacemaker@latest"
@$(shell go env GOPATH)/bin/ifacemaker -f client.go -s GoCloak -i GoCloakIface -p gocloak -o gocloak_iface.go
Loading

0 comments on commit 6c4d279

Please sign in to comment.