Skip to content

Instantly share code, notes, and snippets.

@jinroh
jinroh / random_string.go
Last active January 22, 2018 07:46
Generate random string in Go
BenchmarkRandomStringA-4 2000000 702 ns/op
BenchmarkRandomStringB-4 10000000 120 ns/op
BenchmarkRandomStringC-4 20000000 115 ns/op
BenchmarkRandomStringD-4 10000000 121 ns/op
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DataDog/datadog-agent/pkg/compliance/k8sconfig/k8s-node-config",
"properties": {
"version": {
"type": "string"
},
"managedEnvironment": {
"$ref": "#/$defs/K8sManagedEnvConfig"
},