feat: Add --extra-http-header flag (#372)

This commit is contained in:
Marko Mikulicic
2022-04-13 19:22:18 +02:00
committed by GitHub
parent 88ba3464cd
commit 30e64c5cc9
3 changed files with 57 additions and 10 deletions

9
cmd/influx/util.go Normal file
View File

@ -0,0 +1,9 @@
//go:build go1.18
package main
import "strings"
func stringsCut(s, sep string) (before, after string, found bool) {
return strings.Cut(s, sep)
}