Fork of github.com/did-method-plc/did-method-plc
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

update go-didplc notes (basically empty dir)

+46
+35
go-didplc/Makefile
··· 1 + 2 + SHELL = /bin/bash 3 + .SHELLFLAGS = -o pipefail -c 4 + 5 + .PHONY: help 6 + help: ## Print info about all commands 7 + @echo "Commands:" 8 + @echo 9 + @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}' 10 + 11 + #.PHONY: build 12 + #build: ## Build all executables 13 + # go build ./... 14 + 15 + .PHONY: test 16 + test: ## Run all tests 17 + go test ./... 18 + 19 + .PHONY: coverage-html 20 + coverage-html: ## Generate test coverage report and open in browser 21 + go test ./... -coverpkg=./... -coverprofile=test-coverage.out 22 + go tool cover -html=test-coverage.out 23 + 24 + .PHONY: lint 25 + lint: ## Verify code style and run static checks 26 + go vet ./... 27 + test -z $(gofmt -l ./...) 28 + 29 + .PHONY: fmt 30 + fmt: ## Run syntax re-formatting (modify in place) 31 + go fmt ./... 32 + 33 + .PHONY: check 34 + check: ## Compile everything, checking syntax (does not output binaries) 35 + go build ./...
+11
go-didplc/README.md
··· 1 + 2 + `go-didplc`: did:plc in golang 3 + ============================== 4 + 5 + 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. 6 + 7 + ## Developer Quickstart 8 + 9 + Install golang. We are generally using v1.22+. 10 + 11 + In this directory (`go-didplc/`) there is a Makefile with helpers for running tests, etc. Run `make help` to list available commands.