Closed Vineet77 closed 4 years ago
does it matter what I name the constant, or do you need a specific name for the constant? Am I naming it based on what the constant does
"/block" is fine
I mean the name of the constant
as like what goes before ` = "/block" '
Doesn't matter. pick what you want. Something short and succint.
completed
Package context:
/internal/endpoints
Create a constant in
endpoints.go
that will be used to accept incoming blocks. The endpoint should be/block