Fixed typo
This commit is contained in:
parent
d66a691370
commit
1dd67de72f
2
feed.go
2
feed.go
|
@ -104,7 +104,7 @@ type Feed struct {
|
||||||
// New is a helper function to stay semi-compatible with
|
// New is a helper function to stay semi-compatible with
|
||||||
// the old code. Includes the database handler to ensure
|
// the old code. Includes the database handler to ensure
|
||||||
// that this approach is functionally identical to the
|
// that this approach is functionally identical to the
|
||||||
// old databse/handlers version.
|
// old database/handlers version.
|
||||||
func New(cachetimeout int, enforcecachelimit bool, ch ChannelHandlerFunc, ih ItemHandlerFunc) *Feed {
|
func New(cachetimeout int, enforcecachelimit bool, ch ChannelHandlerFunc, ih ItemHandlerFunc) *Feed {
|
||||||
db := NewDatabase()
|
db := NewDatabase()
|
||||||
f := NewWithHandlers(cachetimeout, enforcecachelimit, NewDatabaseChannelHandler(db, ch), NewDatabaseItemHandler(db, ih))
|
f := NewWithHandlers(cachetimeout, enforcecachelimit, NewDatabaseChannelHandler(db, ch), NewDatabaseItemHandler(db, ih))
|
||||||
|
|
Loading…
Reference in New Issue