Restructures database access
Makes it simpler as long as the application is just the CLI
This commit is contained in:
parent
db7ed2fa3b
commit
b70a232343
2 changed files with 15 additions and 10 deletions
8
internal/database/feed.go
Normal file
8
internal/database/feed.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package database
|
||||
|
||||
import "fmt"
|
||||
|
||||
func AddFeed(url string) error {
|
||||
fmt.Printf("Trying to add new feed by URL: %s", url)
|
||||
return nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue