mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-13 07:14:24 +00:00
44 lines
1.6 KiB
Markdown
44 lines
1.6 KiB
Markdown
# Golang
|
|
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [Inspect a variable](#inspect-a-variable)
|
|
1. [JSON data](#json-data)
|
|
1. [Create a container image of a Go app](#create-a-container-image-of-a-go-app)
|
|
1. [Further readings](#further-readings)
|
|
1. [Sources](#sources)
|
|
|
|
## Inspect a variable
|
|
|
|
See [how to print struct variables in console]
|
|
|
|
## JSON data
|
|
|
|
See [deserializing json in go a tutorial]
|
|
|
|
## Create a container image of a Go app
|
|
|
|
See [building minimal docker containers for go applications] and [create the smallest and secured golang docker image based on scratch]
|
|
|
|
## Further readings
|
|
|
|
- [Building minimal Docker containers for Go applications]
|
|
- [Create the smallest and secured Golang Docker image based on Scratch]
|
|
- [Deserializing JSON in Go a tutorial]
|
|
- [How to print struct variables in console]
|
|
|
|
## Sources
|
|
|
|
All the references in the [further readings] section, plus the following:
|
|
|
|
<!-- project's references -->
|
|
|
|
<!-- internal references -->
|
|
[further readings]: #further-readings
|
|
|
|
<!-- external references -->
|
|
[building minimal docker containers for go applications]: https://www.cloudbees.com/blog/building-minimal-docker-containers-for-go-applications/
|
|
[create the smallest and secured golang docker image based on scratch]: https://medium.com/@chemidy/create-the-smallest-and-secured-golang-docker-image-based-on-scratch-4752223b7324
|
|
[deserializing json in go a tutorial]: https://medium.com/@fsufitch/deserializing-json-in-go-a-tutorial-d042412958ea
|
|
[how to print struct variables in console]: https://stackoverflow.com/questions/24512112/how-to-print-struct-variables-in-console#24512194
|