package util

import "go.etcd.io/etcd/etcdctl/v3/util"

Index

Functions

func Normalize

func Normalize(s string) string

Normalize normalizes a string:

  1. trim the leading and trailing space
  2. add an indentation before each line

Source Files

normalizer.go

Version
v3.6.10 (latest)
Published
Apr 1, 2026
Platform
linux/amd64
Imports
1 packages
Last checked
1 month ago

Tools for package owners.