Unit Testing & Debugging Setup For Golang with VS Code

Setup a Project Workspace

module go-exercisesgo 1.17

What are modules & packages?

Creating A Package

Module folder structure so far
Bubble sort implementation

Add Unit Tests

Add Package for Assertions

Linting & Debugging in VS Code

Conclusion

--

--

--

What do you want to be different at the end of your life as a result of your actions?

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Connect to Remote Database from a Local Database Client?

Helm conditions and tagging for umbrella charts

We Need to Make Virtual Dev Conferences Better

single screen showing individual pictures of all attendees at 2020 CascadiaJS virtual conference

Design Patterns in Django 1.2

Kotlin Coroutines in Android — Part 8

So Easy MicroPython — MQTT ThingSpeak, IoT

Code Review Tips for Junior Developers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Iuliu Pop

Iuliu Pop

What do you want to be different at the end of your life as a result of your actions?

More from Medium

Integration tests, Docker and how it all Go(es) together

Golang Microservices Challenge: Designing an extensible, easy-to-use, and testable HTTP client

Golang Interfaces

AWS Lambda Function with Go