pub fn snake_case(name: &str) -> String
Expand description

Convert input to snake case For the purpose of the AMQP codegen usage, we also handle a few special cases: “type” becomes “type_” “return” becomes “return_” A word needs to be composed of at least two letters, this makes UInt become uint and not u_int