···11+22+SHELL = /bin/bash
33+.SHELLFLAGS = -o pipefail -c
44+55+.PHONY: help
66+help: ## Print info about all commands
77+ @echo "Commands:"
88+ @echo
99+ @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}'
1010+1111+#.PHONY: build
1212+#build: ## Build all executables
1313+# go build ./...
1414+1515+.PHONY: test
1616+test: ## Run all tests
1717+ go test ./...
1818+1919+.PHONY: coverage-html
2020+coverage-html: ## Generate test coverage report and open in browser
2121+ go test ./... -coverpkg=./... -coverprofile=test-coverage.out
2222+ go tool cover -html=test-coverage.out
2323+2424+.PHONY: lint
2525+lint: ## Verify code style and run static checks
2626+ go vet ./...
2727+ test -z $(gofmt -l ./...)
2828+2929+.PHONY: fmt
3030+fmt: ## Run syntax re-formatting (modify in place)
3131+ go fmt ./...
3232+3333+.PHONY: check
3434+check: ## Compile everything, checking syntax (does not output binaries)
3535+ go build ./...
+11
go-didplc/README.md
···11+22+`go-didplc`: did:plc in golang
33+==============================
44+55+This golang package will eventually be an implementation of the did:plc specification in golang, including at a minimum verification of DID documents from a PLC operation log.
66+77+## Developer Quickstart
88+99+Install golang. We are generally using v1.22+.
1010+1111+In this directory (`go-didplc/`) there is a Makefile with helpers for running tests, etc. Run `make help` to list available commands.