Chakib Ben Ziane
7c615ad136
- Move every browser to it's own package - Stop using inheritance style embedding of structs - Use as much interfaces everywhere - WIP: firefox package needs extensive tests
15 lines
426 B
Go
15 lines
426 B
Go
// This are private sahred functions the internal package allows to test the
|
|
// methods without exporting them outside the packge
|
|
|
|
package internal
|
|
|
|
|
|
// adds a new tagNode if it is not existing in the tagMap
|
|
// returns true if tag added or false if already existing
|
|
// returns the created tagNode
|
|
func (bw *main.FFBrowser) AddTagNode(tagId sqlid, tagName string) (bool, *tree.Node) {
|
|
// node, exists :=
|
|
|
|
return false, nil
|
|
}
|