How to run go from github

Hi, im new at go language, i just want to know , how to run this : https://github.com/yulrizka/fam100 ( a telegram quiz bot ) using ubuntu, any help would be apreciate thanks

Download it with git

git clone https://github.com/yulrizka/fam100

Go into the cloned folder:

cd fam100

Build it with go:

go build

Now you should have a binary fam100 or fam100.exe depending on platform. Run it:

./fam100 or .\fam100.exe (Windows)

1 Like

There is no bin folder… I check at use/local/go it’s same no result

fam100 is a package by someone
you can import it into your program and invoke its functions
like that https://github.com/yulrizka/fam100/blob/master/cli/main.go

I saw that for example the telegram folder contained a Makefile. Try to run this by going into the folder and run make

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.