Skip to content

cubahno/foobar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foobar

A sample Go library.

Installation

go get github.com/cubahno/foobar

Usage

package main

import (
    "fmt"
    "github.com/cubahno/foobar"
)

func main() {
    // Basic greeting
    greeting := foobar.Foo("Alice")
    fmt.Println(greeting) // Output: Hello, Alice!

    // Transform to uppercase
    upper := foobar.Bar("hello world")
    fmt.Println(upper) // Output: HELLO WORLD

    // Combined operation
    result := foobar.FooBar("Bob")
    fmt.Println(result) // Output: HELLO, BOB!
}

License

MIT

About

Sample library

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages