aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Identity.hs
blob: fb640fa70cab8a8c7c2f9f55d16f876ed20bd136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE DeriveGeneric #-}

module Model.Identity where

import           Data.Yaml
import           GHC.Generics

data Identity = Identity
  { name    :: String
  , website :: String
  , git     :: String
  } deriving (Show, Read, Eq, Generic)

instance FromJSON Identity