package
Version:
v0.0.0-...-32022ca
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 71
Opens a new window with list of known importers.
Documentation
¶
Package reverse can reverse things, particularly strings.
String returns its argument string reversed rune-wise left to right.
package main
import (
"fmt"
"golang.org/x/example/hello/reverse"
)
func main() {
fmt.Println(reverse.String("hello"))
}
Output:
olleh
Source Files
¶
Click to show internal directories.
Click to hide internal directories.