Packages

A modular first authentication base

Current section

Files

Jump to
gauth src gauth@user@creation@finalware.erl
Raw

src/gauth@user@creation@finalware.erl

-module(gauth@user@creation@finalware).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([logging/1]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
-file("src\\gauth\\user\\creation\\finalware.gleam", 18).
?DOC(" Logs when a user is created\n").
-spec logging(gauth@user:user(FFZ)) -> gauth@user:user(FFZ).
logging(User) ->
gleam_stdlib:println(
<<"Created user "/utf8, (erlang:element(3, User))/binary>>
),
User.