You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 0m 34s logged

GO GO LIL BRO

making the lil bro (agent) with go!
so i setup the go environment, i am actually a beginner in go lol i am using this project as an excuse to learn go :3

so i wrote some basic code in main.go to get started, and made internals/config.go which has 3 functions EnsureConfig(), CreateConfig(), and GetConfig(), when the code runs it checks with ensure function and creates new config if not found in ~/.config/lilbro/config.json. and Get config is just get config lol, using simple json marshalling with go

the screenshot shows the config file that got saved

0
15

Comments 0

No comments yet. Be the first!