Skip to content

scraly/gophersay

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GopherSay

GitHub release Code Status

About

Welcome in GopherSay!

GopherSay is inspired by Cowsay program.

GopherSay allow you to display a message said by a cute random Gopher.

Installation

For MacOS:

brew tap scraly/tools
brew install gophersay

Pre-requisites

Install Go in 1.16 version minimum.

Build the app

$ go build -o bin/gophersay main.go

or

$ task build

Run the app

$ ./bin/gophersay

or

$ task run

Test the app

$ ./bin/gophersay Hello Gopher lovers!
 ---------------------
< Hello Gopher lovers! >
 ---------------------
        \
         \
                                          ,
                             (%..**,,,,,.& .,,.**
                            ,%,*..,,,. .** **.,*,,**./
                           ./*,,.. .**,.,..,.,**.**..(.
                      .   (@.,*%.**.,,**,.,,%*..**,*,/(
                  ,..../../&&%................%///#.,***.....
                   /....,..........................@*@%...,.,
                     .....................................,
                    &*   #@................................
                 &           ...............................
                #             .........................%       @
               /@     @,      ........................*          *
              *.,            @.......................@    /@@
             /....%        ..........................&
            /........%@@..............................%         %
           ,....................................................*   *   .%
           .........................@,,,,,,,@...................* @   *****#
          *........................@,,,,,,/&(...................  /. ****,**
         ........................@,,,,,,,,,,,, ................/ #/////( ,*,
         //.....................@,,,,,,,,,,,,#................., #//////////
      ...........................,@@@   /  @................../....**//////(
      ...,.........................@@      @.......................///*//*/(
         ...........................&@@@@@@..................   @///////////
         ,..................................................*   @///////&* *
         /..................................................    @/@..,(@.& (
         ,.................................................     @ @/ .(#   .
          ................................................,     @ ,.%(#,**
          .............................................../      @ . @////*/
          ,..............................................       @///%%.///&
           *.............................................       @/((((((& #
             ........................................../        @((((((((/*
              ,.......................................          @/@((((///.
                 *.................................,            @/*/////
               *@ #   ..*.......................*   /# &        @/////
               #       #                     .(  *###  (

CI/CD

This GitHub repository have a GitHub action that create a release thanks to go-releaser.

About

GopherSay allow you to display a message said by a cute random Gopher.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages