Skip to content

Commit f17444a

Browse files
committed
Consolidate constants into search models
1 parent 14c035d commit f17444a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

internal/model/constant.go

Lines changed: 0 additions & 6 deletions
This file was deleted.

internal/model/search.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ package model
22

33
import "net"
44

5+
const (
6+
NoAuthor = "No author"
7+
NoDescription = "No description"
8+
)
9+
510
type GoPackageResult struct {
611
Name string // Package name
712
Path string // Fully qualified package path

0 commit comments

Comments
 (0)