LOGiN PANeL

«    December 2026    »
MoTuWeThFrSaSu
 123456
78910111213
14151617181920
21222324252627
28293031 
PoLL





eBooks Tutorials Templates Plugins Scripts Applications GFX Collections SCRiPTMAFiA.ORG
LaST oN NULLeD.org
Microsoft Edge 158.0.4370.61 Stable Multilingual Microsoft Edge 158.0.4370.61 Stable Multilingual | Size: 519.77 MB Language: English​ Introducing the new Microsoft ...
Memtest86+ 9.10 Stable Memtest86+ 9.10 Stable | Size: 538.49 KB Language: English​ Memtest86+ provides you with some of the best tools for ...
Macrorit Data Wiper 8.9.2 Multilingual Macrorit Data Wiper 8.9.2 Multilingual | File Size: 11.6 MB Macrorit Data Wiper is a Windows data-erasure utility for ...

RSS
RSS

FRiENDS
Nulled.org Software 8TM URL Shortener Forex Trading Crypto Trading




Building a module in Go (Golang)

Category: Tutorials



Building a module in Go (Golang)
Building a module in Go (Golang)
Duration: 4h 13m | .MP4 1280x720, 30 fps(r) | AAC, 44100 Hz, 2ch | 1.46 GB
Genre: eLearning | Language: English


Learn to build a reusable, well-tested module in Go

What you'll learn:
How to build a platform agnostic, re-usable Go module
How to share your module with other Go developers
How to write tests for your module
How to manage multiple versions of your module
How to use Go 1.18's new go work feature, workspaces

Requirements:
Some experience with the Go programming language is required.

Description:
Working with web applications in Go is remarkably easy, but it does not take too long to realize that in a lot of cases, we end up writing the same kind of code every time we start a new project. You might need to read JSON, write JSON, upload files, or any of the commonly used features of a given web application. In other words, we often rewrite code that we have already written, many times over.
Rather than simply copying and pasting code from one project to another, it makes sense to take advantage of Go modules – reusable code that can be included in a project by simply issuing a "go get" command. That way, if new functionality is added to that module, any project that imports it can take advantage of that functionality simply by updating its dependencies, and if a bug is discovered, you can fix it by updating the module; every project that uses that module gets the bug fix with a single "go get -u" command.
Building a robust, secure, well-tested module is not difficult, but it does require careful planning to ensure that it will work across different operating systems.
This course will take you through the steps necessary to produce a module that includes many of the tasks commonly used in web applications, including:
reading JSON
writing JSON
producing well formatted, informative error messages
uploading one or more files to a server, and limiting uploads by mime type and file size
creating directories on the server
generating random strings
downloading static files
posting JSON to a remote service
creating a URL safe slug from a string
We'll build our module using Go 1.18's new workspaces tools, and we'll ensure that the entire module is well-tested.
Our final module will not have any external dependencies, and will only use functionality found in Go's standard library.
By the time you have finished this course, you'll have a Go module that will make starting a new web application much faster, and you won't be depending on someone else's code to do so.

Who this course is for:
This course is intended for Go developers who want to build and share modules (sometimes called packages) for use by other developers, or in their own projects.

More Info








UsersDrive


   
   
   


Forex Trading

Crypto Trading. 20 USD Bonus after KYC







 

Information

 
  Users of GUESTS are not allowed to comment this publication.