auxiliary verb
Continuative form of ごとし, used in formal or literary contexts to mean 'like' or 'as'. Often appears in set phrases or classical-style expressions.
See also: 如し
He left like the wind.
He was worshipped as a god.
He appeared and left like a storm.
He acted as if nothing had happened.