You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 211. Design Add and Search Words Data Structure.go
    path of file: ./repos/LeetCode-Go/leetcode/0211.Design-Add-and-Search-Words-Data-Structure
    
    the code of the file until where you have to start completion: package leetcode

type WordDictionary struct {
	children map[rune]*WordDictionary
	isWord   bo
    
func (this *WordDictionary) AddWord(word string) {
	parent := this
	for _, ch := range word {
		if child, ok := parent.children[ch]; ok {
			parent = child
		} else {
			newChild := &WordDictionary{children: make(map[rune]*WordDictionary)}
			parent.children[ch] = newChild
			parent = newChild
		}
	}
	parent.isWord = true
}