Skip to content

Instantly share code, notes, and snippets.

@techslides
Last active November 2, 2022 19:26
Equality checking in Go Lang Templates
{{if eq .authuser.Id .user.Id }}<button type="button" class="delete_user" rel="{{.user.Id}}">Delete My Account</button>{{end}}
@techslides
Copy link
Author

Uh oh!

There was an error while loading. Please reload this page.

@rodolfoag
Copy link

Thx for sharing. Helped a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment