#1112245 ITP: golang-github-terrastruct-util-go -- General purpose go libraries.

#1112245#5
Date:
2025-08-27 19:46:54 UTC
From:
To:
* Package name    : golang-github-terrastruct-util-go
   Version         : 0.0~git20250213
   Upstream Author : Terrastruct
* URL             : https://github.com/terrastruct/util-go
* License         : ISC
   Programming Lang: Go
   Description     : Terrastruct's general purpose go libraries.

  Modules:
   * ./diff: functions to diff strings, files and go values
   * ./assert: test assertion helpers
   * ./xdefer: annotates all errors returned from a function
   * ./cmdlog: color leveled logging for command line tools
   * ./xterm: outputting formatted text to a terminal
   * ./xos: OS helpers
   * ./xrand: generating useful random values
   * ./xcontext: indispensable context helpers
   * ./xjson: basic JSON helpers
   * ./go2: general utility helpers
   * ./xbrowser: opening a user's GUI browser to a URL
   * ./xexec: exec helpers
   * ./xhttp: HTTP helpers
   * ./xmain: helpers for building CLI tools
   * ./mapfs: writes map[string]string fs to a temp directory for use
       with io/fs.FS

This is a dependency for d2 (graphviz-like language)

I'll try to find a home for it with the go team.