You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
Load AWS region from meta data if not set for deploy
This commit is contained in:
@ -118,7 +118,6 @@ func RespondErrorStatus(ctx context.Context, w http.ResponseWriter, er error, st
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
// RespondText sends text back to the client as plain text with the specified HTTP status code.
|
||||
func RespondText(ctx context.Context, w http.ResponseWriter, text string, statusCode int) error {
|
||||
if err := Respond(ctx, w, []byte(text), statusCode, MIMETextPlainCharsetUTF8); err != nil {
|
||||
|
Reference in New Issue
Block a user