CLI for Windows with Go

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • go

    The Go programming language

  • See also: https://github.com/golang/go/blob/3b2a578166bdedd94110698c971ba8990771eb89/src/cmd/link/doc.go#L28

  • checkout

    Action for checking out a repo

  • (1) Set up Go environment by setup-go action. (2) Checks-out my repository by checkout action. (3) Run tests.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rsrc

    Tool for embedding .ico & manifest resources in Go programs for Windows.

  • When embed data to Go binary, need to prepare syso file. There is a tool called rsrc that will generate syso file for embedding in the rsrc section, so let's use that.

  • 2goarray

    A simple utility to encode a file (or any other data) into a Go byte array.

  • (1) systray.Run initializes GUI and starts the event loop. Also, you can pass two functions that run when applications starting and exiting. (2) systray.SetIcon accept to array bytes of icon data. This means you need to prepare array bytes of an icon. 2goarray can use in this case. 2goarray can encode files into array bytes.

  • systray

    a cross platfrom Go library to place an icon and menu in the notification area

  • Of course, already exists that library for using Notification Area. getlantern/systray

  • golangci-lint-action

    Official GitHub action for golangci-lint from its authors

  • If you want to run golangci-lint in CI, you can use golangci-lint-action same as other actions.

  • cli-for-windows

  • Recently, I created a CLI for windows. I learned about some TIPS. Let's describe that in this article. Sample code exists in https://github.com/y-yagi/cli-for-windows

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts