Skip to content

Instantly share code, notes, and snippets.

@darkslategrey
Created December 27, 2018 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darkslategrey/c071778ea2aea67c902a22ec28a9a371 to your computer and use it in GitHub Desktop.
Save darkslategrey/c071778ea2aea67c902a22ec28a9a371 to your computer and use it in GitHub Desktop.
defmodule Scraper.Infra do
alias __MODULE__
defstruct name: nil
def bla do
%Infra{name: "default infra"}
end
@moduledoc """
Documentation for Scraper.Infra.
"""
@doc """
Hello world.
## Examples
iex> Scraper.Infra.hello
:world
"""
def hello do
:world
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment