Use Embedded Replicas of LibSQL Database hosted on Turso with a Golang Application

Introduction

Welcome to the Let’s Go with Turso series. In this series, we will learn how to interact with LibSQL databases with Golang. In the past article of the series, we explored how to connect remote/local LibSQL database in golang.

With this section, we will specifally dive into understanding how to create, connect, and query local embedded replicas of LibSQL database hosted on Turso with a Golang application.

If you want to check out the YouTube video, check this out:

[]

Techstructive Weekly #13

Week #13

This was a pretty rough week, some mundane tasks at work, not that mundane but felt off track on the mind. Nothing going on in my life, just that the past things that have happened have slowed down and now feel the sense of pain and consequences in the future. Don’t know what I am talking really, but as always there is hope in me, I am continuing to write a mythological blog of mine for almost 21 days which is 3 weeks, yes that is a daily one post. At least some things in life are good.

[]

Techstructive Weekly #12

Week #12

This week, was a bit of a realization that I need to improve as a junior developer, I need to do something important and exciting. These past few months have been tiring mentally, but need to up the effort and get some serious business rolling in.

I will be looking to write more articles based on the videos I create in the upcoming months.

This week, I worked a bit harder than usual, to do my two modes of being. One as a developer, and the other as a writer, I have been writing non-fictional, spiritual, and mythological writing on the side for almost 2 weeks now. I feel really positive, I am able to get things done quickly and appreciate life more gratefully.

[]

Techstructive Weekly #11

Week #11

This week was good in terms of writing. I started a new endeavor: a blog. It is not technical; it is related to mythology and finding its meaning in the modern world. I kept a consistent writing routine for nine days. Nine posts in nine days looks like a good start for my writing routine. I will try to continue this routine throughout the month.

Moving on to the technical things, I wrote a lot less code than usual but read a lot of code for debugging and understanding existing flows.

[]

Techstructive Weekly #10

Week #10

Wrapping up the third quarter with a burst of energy! This week felt more mentally demanding, but as the week closed, I realized that even small progress is still progress. Sometimes, numbers don’t tell the whole story—they can shift perceptions or even mislead. I believe in valuing the journey more than the destination, and this week’s coding, learning, and creating was worth more than any metric can show.

[]

Connect LibSQL Database hosted on Turso in a Golang Application

Introduction

Welcome to the new series in Golang, Let’s Go with Turso. In this series, we will learn how to interact with LibSQL databases with Golang. We will connect with a remote/local LibSQL database, create Embedded replicas, set up a local LibSQL database, and so much more as we explore and find out more features of LibSQL.

Connect a LibSQL database in a Golang application

In this post, we will learn how to connect and query a LibSQL database hosted on Turso/Cloud in a Golang Application using libsql-client package. We will go from setting up golang project, installing turso-cli, creating a database on turso with the cli, connecting to the database with shell, and golang and finally, we can query the database using Golang.

[]

Techstructive Weekly #9

Week #9

This week was a bit of refreshing as I was able to write some code, bunch of experimentation and feeling a bit back after some slump in the past week. Need to get one video out this weekend to get into the habit. This October I will be trying to build my own writing routine, it won’t be for technical articles, but I won’t be surprised if I find it helpful to write more technical articles.

[]

Techstructive Weekly #8

Week #8

This week was quite a slow one for me, I didn’t write much code, but I did some thinking and debugging deep into configurations. I want to say this, that’s it, not in the mood for a rant this week.

Quote of the week

“Courage doesn’t always roar. Sometimes courage is the quiet voice at the end of the day saying, ‘I will try again tomorrow.’”

— Mary Anne Radmacher

[]

Techstructive Weekly #7

Week #7

This week was a bit mentally tough but technically productive, pushed some efforts to get the project up and integrated fully and tested it out. Not good with the numbers but overall, that looked promising, and again excited for next week’s challenge.

This week is special because I created and uploaded my first YouTube video! On Sunday, I did everything from recording to creating the thumbnail, voiceover, and editing. It took about six hours for a six-minute video, but it’s a solid start for future videos. I’d love any feedback you have, so please check it out!

[]

Techstructive Weekly #6

Week #6

This week was all about diving deep into the details of my projects. After weeks of building, I spent this week debugging and testing everything, pushing things to the next level. My goal was to have a working demo by the end of the week, which I started on Wednesday—and I’m happy to report that I almost hit the mark. There’s always room for improvement, but the testing phase went as planned, and the hypothesis is holding up.

[]