reverse

package
v0.0.0-...-32022ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: BSD-3-Clause Imports: 0 Imported by: 71

Documentation

Overview

Package reverse can reverse things, particularly strings.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String(s string) string

String returns its argument string reversed rune-wise left to right.

Example
package main

import (
	"fmt"

	"golang.org/x/example/hello/reverse"
)

func main() {
	fmt.Println(reverse.String("hello"))
}
Output:

olleh

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL