Current section

Files

Jump to
design_styles_hex lib my_hex_package.ex
Raw

lib/my_hex_package.ex

defmodule MyHexPackage do
@moduledoc """
Documentation for MyHexPackage.
"""
require Poison
def hello do
"Hello, world!"
end
def example_with_inspect(data) do
data
|> Poison.encode!()
|> IO.inspect(label: "Encoded data")
end
end