ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Episode #1.0.0 (2016-10-30) Level: Beginner
OctoLab Cookbook
Go lang tips and tricks:
protection of sensitive con?g data
The context
The problem #1: print
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
The problem #2: log
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
The problem #3: json
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
The solutionWhich interfaces can help us?
fmt.Stringer
fmt.GoStringer
json.Marshaler
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
All together: https://play.golang.org/p/w_toBwYPea
Better way
OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data
Thank you for your attention!
Have questions?
Kamil Samigullin
a some developer
kamil@samigullin.info
@ikamilsk
github.com/kamilsk
linkedin.com/in/kamilsk

More Related Content

OctoLab Cookbook: Go lang tips and tricks - protection of sensitive config data