kubectl config view
kubectl config get-contexts
kubectl config use-context minikube
kubectl config view
kubectl config get-contexts
kubectl config use-context minikube
package domain | |
// https://jira.atlassian.com/rest/api/2/issuetype | |
type IssueType struct { | |
Self string `json:"self"` | |
ID string `json:"id"` | |
Description string `json:"description"` | |
IconURL string `json:"iconUrl"` | |
Name string `json:"name"` |
for i, v := range slice
here v
is a copy of the element at index i
. So, v = "new_val"
will not be reflected in slice
.
Short variable declaration is function scoped.
Width of int
and uint
are system dependent. If the architeture is 64 bit then the width of int
and uint
are 64 bit.
float64
is default floating point type and recommended. Don't use float32 if there is no valid reason.
Go's const
is compile time constant. An untyped constant takes the type needed by its context. It can be use in place of int
and float64
.