All of the following information is based on go version go1.17.1 darwin/amd64.
| GOOS | Out of the Box |
|---|---|
aix |
✅ |
android |
✅ |
| #!/bin/bash | |
| while getopts ":v:" opt; do | |
| case $opt in | |
| v) VERSION_TAG=$OPTARG;; | |
| \?) | |
| echo "Invalid option: -$OPTARG" >&2 | |
| exit 1 | |
| ;; | |
| :) |
| package logging | |
| import ( | |
| "github.com/rs/zerolog" | |
| "github.com/rs/zerolog/log" | |
| "gopkg.in/natefinch/lumberjack.v2" | |
| "os" | |
| "path" | |
| "io" | |
| ) |
(This is not a particularly complete nor finished doc, but I'll share it as a gist anyway.)
In this document:
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
| package sse | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "github.com/alexandria-oss/core" | |
| "github.com/go-kit/kit/log" | |
| "net/http" | |
| "sync" | |
| ) |
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| package foo | |
| import ( | |
| "context" | |
| "net/http" | |
| "strconv" | |
| ) | |
| // PaginateParams Paginate required params | |
| type PaginateParams struct { |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |