module StructGen

Defined in:

struct-gen.cr

Constant Summary

FULL_VERSION = "#{VERSION}-#{GIT_BRANCH} (#{GIT_COMMIT_SHORT})"
FULL_VERSION_LONG_COMMIT = "#{VERSION}-#{GIT_BRANCH} (#{GIT_COMMIT})"
GIT_BRANCH = "(HEAD detached at v0.1.2)"
GIT_COMMIT = "bae7f9bcede6f052f4e6381d14a776b37b9cce19"
GIT_COMMIT_SHORT = "bae7f9b"
VERSION = "0.1.2"

Macro Summary

Macro Detail

macro attach_field_annotation(key_value) #

[View source]
macro attach_serialization_includes #

[View source]
macro generate_struct(struct_name, *fields) #

[View source]
macro generate_with_field(base_module, field_class, field_name, field_type, field_key, is_required) #

[View source]
macro generate_with_optional_field(base_module, field_class, field_name, field_type, field_key) #

[View source]
macro generate_with_required_field(base_module, field_class, field_name, field_type, field_key) #

[View source]