Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

BUX-396/Create Contact #21

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions contact.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package buxmodels

import "github.com/BuxOrg/bux-models/common"

type ContactStatus string

Check failure on line 5 in contact.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

exported: exported type ContactStatus should have comment or be unexported (revive)

type Contact struct {

Check failure on line 7 in contact.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

exported: exported type Contact should have comment or be unexported (revive)
common.Model

ID string `json:"id"`

XpubID string `json:"xpubID"`

FullName string `json:"fullName"`

Paymail string `json:"paymail"`

PubKey string `json:"pubKey"`

Status ContactStatus `json:"status"`
}
Loading