Skip to content

pablo-costanzo/greetings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Greetings in Go

This package provides a simple way to obtain personalized greetings in Go.

Installation

Run the following command to install the package:

go get -u github.com/pablo-costanzo/greetings

Usage

package main

import (
    "fmt"
    "github.com/pablo-costanzo/greetings"
)

func main() {
    message, err := greetings.Hello("Pablo")

    if err != nil {
        fmt.Println("An error occurred:", err)
        return
    }

    fmt.Println(message)
}

This example imports the package github.com/pablo-costanzo/greetings and calls the Hello function to get a personalized greeting. If an error occurs, an error message is printed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages