package
Version:
v0.2.5
Opens a new window with list of versions in this module.
Published: Nov 3, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Trim removes trailing spaces and symbols from the string.
package main
import (
"fmt"
"github.com/opencars/wanted/pkg/utils"
)
func main() {
input := "... this string will be fixed%. "
fmt.Println(*utils.Trim(&input))
}
Output:
this string will be fixed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.