# document
`document` is the main API interface for the library, it contains most of the methods provided in the JavaScript [document object](https://developer.mozilla.org/en-US/docs/Web/API/Document)
```mermaid
flowchart LR;
index.html-->open
master.css-->open
gui-->index.html;
gui-->master.css;
gui-->new;
open-->new;
new-->window;
window-->document;
document-->gui.display;
script-->document;
```
## Open?(go)
The `Open` methed is used to load a file from disk and display the file.
<{./main.go}>