[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037958: ITP: golang-github-bep-mclib -- simple Go library to make it possible to run mkcert's main method



Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>

* Package name    : golang-github-bep-mclib
  Version         : 1.20400.20402-1
  Upstream Author : The mkcert Authors; Bjørn Erik Pedersen
* URL             : https://github.com/bep/mclib
* License         : Expat
  Programming Lang: Go
  Description     : simple Go library to make it possible to run mkcert main method

 This is a simple Go library to make it possible to run mkcert's
 (https://github.com/FiloSottile/mkcert) main method.
 .
 The script that updates the internal package does no logic changes to
 the source; it simply
 .
  1. Renames the main package to internal.
  2. Renames the main func to RunMain
  3. Replaces any log.Fatal with panic to allow us to handle the errors.
  4. Exports getCAROOT().
 .
 For more advanced library usage, see this issue
 (https://github.com/FiloSottile/mkcert/issues/45).

Reason for packaging: Needed by hugo 0.113.0 and up


Reply to: