reverselib

package module
v0.0.0-...-ee4268b Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: ISC Imports: 1 Imported by: 0

README

reverse-sentence
===============

Reverses the words of a sentence.

Install
-------

.. code-block:: sh

   go get github.com/fgsoftware1/reverse-sentence

Example
-------

.. code-block:: go

   import(
      "github.com/fgsoftware1/reverse-sentence"
      ...
   )

.. code-block:: go

   func main() {
	   sentence := "Hello world!"
	   reversed := reverselib.Reverse(sentence)
	   fmt.Println(reversed) //world! Hello
   }

License
-------

ISC

.. image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2Ffgsoftware1%2Freverse-sentence.svg?type=large
   :alt: FOSSA Status
   :target: https://app.fossa.com/projects/git%2Bgithub.com%2Ffgsoftware1%2Freverse-sentence?ref=badge_large

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reverse

func Reverse(sentence string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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