Gallery
Mochaccino
Share
Explore

icon picker
Style Guide

We recommend lowerCamelCase for structs and UpperCamelCase for modules.

All Structs

All structs should use lowerCamelCase.

All Modules

All modules should use UpperCamelCase.

Complementary Objects

When a module provides functionality for a struct, they must have the same name, while also complying with the previous rules. For example, the string package:
struct string {...}
module String {...}
Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.