Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Função/Método Static - hospedar páginas staticas #33

Open
jeffotoni opened this issue Feb 28, 2023 · 0 comments
Open

Função/Método Static - hospedar páginas staticas #33

jeffotoni opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jeffotoni
Copy link
Owner

instalar o gosec:
https://github.com/securego/gosec

$ gosec ./...

Para funcionar o static tomar cuidado porque ele irá servir a página e podemos avançar para 2 modelos um modelo é hospedar a página com html, js, img tudo fisico no disco porém com binario go.

Modelo 2 implementar embed ou seja html, css, js e img dentro do binário sem haver necessidade de enviar arquivos para hospedar tudo fica no binário.

Examples:
https://github.com/jeffotoni/goexample/tree/master/embed

@jeffotoni jeffotoni added the enhancement New feature or request label Feb 28, 2023
@jeffotoni jeffotoni linked a pull request Feb 28, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant