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

update go-didplc notes (basically empty dir)

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