problemdetail
This is a simple implementation of Problem Details for HTTP APIs RFC providing
a simple struct
Problem
Please check
examples
make run-examples
How to
VPM package upload is planned but currently blocked by
vlang/vpm#126
v install --git https://github.com/keyweeusr/problemdetail
or clone and either
make local-install
import problemdetail
problemdetail.new(
type ?URL,
status int,
title string,
detail string,
instance ?URL
)