Skip to content
Trilha

Error catalog

E_BAD_SEGMENT

The folder name is not a valid segment

A folder under app/ uses a name Go cannot import — brackets, spaces, or a parameter suffix in the wrong place.

Fix

Rename the folder: lowercase, hyphens, `name_` for a parameter, `name__` for a catch-all, `name-` for a group.