Original post

Hi all,

Hopefully a simple one. Is it possible to wrap a function definition over 2 lines. I am working on a project that likes lines to be hard wrapped at around 80 characters. The hard limit is 100 characters but 80 is preferable. Is it possible to wrap a go function definition over 2 lines? Something like:

func getEntityByShortId(el *openpgp.EntityList , id uint32)
    (entity *openpgp.Entity, err error) {

This doesn’t work. Am I missing something or is it simply not possible?

Thanks in advance