]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/news.go
Merge pull request #50 from jhalter/implement_delNewsItem_access_controls
[rbdr/mobius] / hotline / news.go
index 77c66966f9ddf0dde81e15331b0cec87fdae2bb1..e25a2c8e1d3827040328437f5320566ec35ab438 100644 (file)
@@ -202,6 +202,7 @@ func (newscat *NewsCategoryListData15) nameLen() []byte {
        return []byte{uint8(len(newscat.Name))}
 }
 
        return []byte{uint8(len(newscat.Name))}
 }
 
+// TODO: re-implement as bufio.Scanner interface
 func ReadNewsPath(newsPath []byte) []string {
        if len(newsPath) == 0 {
                return []string{}
 func ReadNewsPath(newsPath []byte) []string {
        if len(newsPath) == 0 {
                return []string{}