mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-28 16:06:38 +01:00
9 lines
191 B
Go
9 lines
191 B
Go
package docker
|
|
|
|
import "strings"
|
|
|
|
// FormatName removes the container name `/` prefix returned by the Docker API
|
|
func FormatName(name string) string {
|
|
return strings.TrimPrefix(name, "/")
|
|
}
|