19. Special Features

Overview

In this chapter, we will look at some special features in Go that can be helpful during your application development.

This chapter will first introduce you to use build constraints, to write programs that work on multiple operating systems and architecture and also use command-line options to build Go programs. You will use reflection to inspect objects at runtime. By the end of the chapter you will be able to define build-time behavior for your application and use the unsafe package to access runtime memory in Go.

Introduction

In the previous chapter, we learned about vulnerabilities that could affect your application and how to mitigate them. We learned how to secure communication and safely store data. ...

Get The Go Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.