Go 08 Aug 2023Introduction and Implementation of Golang EmbedIntroduction to Embed PackagesSince Golang released version 1.16 there is a new feature called Embed. This … 4 mntRead
Go 05 Aug 2023Get to know the Repository Pattern in GolangIn the book Domain-Driven Design, Eric Evans explains that Danger Repository is a mechanism for encapsulating … 5 mntRead
Go 15 Jul 2023Get to know Package Context With Value in GolangIntroduction to the context.WithValue packageAt the beginning of the context explanation, we know that the … 3 mntRead
Go 15 Jul 2023Getting to Know Package Context in GolangIntroduction to package contextContext is a package that can store and carry data values, timeout signals and … 3 mntRead
Go 15 Jul 2023Get to know the Package Ticker in GolangIntroduction to the time.Ticker packageThis Golang package is a package that is used to repeat certain events … 2 mntRead
Go 15 Jul 2023Get to know the Package Timer in GolangIntroduction to the time.Timer packagetime.Timer is a package that deals with times or events that will occur … 3 mntRead
Go 22 Dec 2022How to Overcome Handling Errors in GolangCurrently, Santekno will discuss error handling in the Golang language. We will learn from easy handling to … 6 mntRead
Go 29 Nov 2022Techniques for Creating Mocking Unit Tests in GolangWhen we create a function or code, sometimes we have difficulty carrying out unit tests at several points that … 14 mntRead
Go 29 Nov 2022How to Create Integration Tests in GolangCarrying out integration tests for APIs means that we must at least be able to run the application first so … 7 mntRead
Go 30 Oct 2022How to Create Unit Tests Using the moq Library in GolangCarrying out unit tests using this mocking method is usually used if several functions have been carried out … 3 mntRead
Go 30 Oct 2022How to Create Benchmark Units in GolangThe testing package in Golang Programming, apart from containing tools for testing, also contains tools for … 2 mntRead
Go 30 Oct 2022How to Create Unit Tests in GolangUnit Testing Using the Go Libraryprogramming is not easy, even the best programmers cannot write programs that … 7 mntRead