def Url.trim_slash.go

bend-kube-runtime@0.2.0.0 · src/config.bend:96

import bend-kube-runtime@0.2.0.0/src/config.bend as Config
import Base

96def Url.trim_slash.go(s: String) -> String:
97  match s:
98    case SCon{'/', t}:
99      t
100    case x:
101      x

Uses (6)

Used by (1)