kjpopov / gohtpass

Explore the possibilities of a golang code generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gohtpass

Explore the possibilities of a golang code generation

Golang code generation example

The purpose of this project is to explore a golang code generation. The result is baking a git ignored .htpasswd file inside the binary file. This is pseudo security don't do that for a real production project.

Follow PassFile.md to create an apr1 .htpasswd file and then use go generate to generate secret.go file.

you can then run go run *.go to execute the example code.

About

Explore the possibilities of a golang code generation


Languages

Language:Go 100.0%