Skip to content

E0204: Attribute without a declaration ​

An attribute describes the declaration that follows it. Nothing follows this one (end of file), or what follows isn't a declaration.

Wrong ​

vuka
@doc("dangling")
vuka
@doc("Lists the users")
func listUsers() []User { … }

Released under the MIT License. Vuka builds on Go and its tools, which are made by the Go Authors. Vuka is not affiliated with Google or the Go project. Go is a trademark of Google LLC.