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.4 (latest)
Published
Jul 25, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
2 months ago

Tools for package owners.