reverse

package
v0.0.0-...-d946a12 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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"

	"github.com/Cloud-Native-Security/dagger-trivy/app/src/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