View Source ExRocketmq.Util.Const (lib_oss v0.1.0)
a module to define constants
defmodule MyApp.Constant do
import Const
const :facebook_url, "http://facebook.com/rohanpujaris"
end
require MyApp.Constant
@facebook_url MyApp.Constant.facebook_url # You can use this line anywhere to get the facebook url.