This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sync" | |
"log" | |
"net/http" | |
) | |
type Response struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
"golang.org/x/sync/errgroup" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/completions/gswitch.fish | |
# | |
# creates a variable with the name of gcloud named configurations. Ex.: | |
# | |
# ~ glist | |
# NAME IS_ACTIVE ACCOUNT PROJECT | |
# aluminium False [email protected] aluminium-123 | |
# nickel True [email protected] nickel-001 | |
# zinc False [email protected] zinc-project | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func wrappedTable(document *gofpdf.Fpdf, encodingFunc report.EncodingFunc, | |
rows [][]string, cols []float64, marginCell float64, border bool) []position { | |
var ( | |
padding = 10.0 | |
paddingCell = 2. // padding of top/bottom of cell | |
rowsPositions []position | |
) | |
_, pageh := document.GetPageSize() |
OlderNewer