A Journey With Go
Published in

A Journey With Go

Go: What is the Unsafe Package?

Illustration created for “A Journey With Go”, made from the original Go Gopher, created by Renee French.

ℹ️ This article is based on Go 1.12.

The name of the package could let us know that we should not use it. To understand the reasons that it could be unsafe to use this package, let’s first refer to the documentation:

Package unsafe contains operations that step around the type safety of Go programs.
Packages that import unsafe may be non-portable and are not protected by the Go 1…




A Journey With Go Language Programming

Recommended from Medium

Congratulations! Apache DolphinScheduler Has Been Approved As A TWOS Candidate Member

Union find again

Kubernetes Multi-Node Cluster

API Management and Service Mesh

Everything is object in Python

| Engineering News-Record

Kotlin Vararg Parameter

An approach to apply the Separation of Concern Principle in UI Test Automation !

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
Vincent Blanchon

Vincent Blanchon

French Gopher in Dubai

More from Medium

SOLID Principles of Object-Oriented Design in GoLang (Part-3)

Road to Go Pro — Special Edition: Generics

Go(Golang) bood nabood…

How To Generate Code Using Golang Templates