Cool! Caddy webserver supports something similar I think —minus the google sign-in: https://caddyserver.com/docs/multipass
Multipass is email provider agnostic, any email address can be used to authenticate users without a password. It's up to the service maintainer to handle authorisation.
Multipass is available as a Caddy plugin, a single binary and can be included in your Go project.