From b8c71284332636c15941789d1cc19538ff9b8c56 Mon Sep 17 00:00:00 2001
From: early
Date: Tue, 30 Jul 2024 10:31:42 -0600
Subject: [PATCH] Change name
---
README.md | 20 ++++++-------
cmd/run-mast-examples/main.go | 29 -------------------
cmd/run-mast-examples/parts/example-nav.html | 24 ---------------
.../ex01-pages/example.go | 4 +--
.../ex01-pages/page.html | 2 +-
.../ex02-parts/example.go | 6 ++--
.../ex02-parts/page.html | 0
.../ex02-parts/section.html | 0
.../ex03-slots/example.go | 6 ++--
.../ex03-slots/page.html | 0
.../ex03-slots/section.html | 0
.../ex04-templates/example.go | 8 ++---
.../ex04-templates/page.html | 2 +-
.../ex06-data/example.go | 8 ++---
.../ex06-data/message-printer.html | 0
.../ex06-data/page.html | 0
.../ex07-components/counter.html | 0
.../ex07-components/example.go | 6 ++--
.../ex07-components/page.html | 0
.../index.html | 6 ++--
cmd/run-today-examples/main.go | 29 +++++++++++++++++++
cmd/run-today-examples/parts/example-nav.html | 7 +++++
.../parts/parts.go | 2 +-
cmd/run-today-examples/public/style.css | 5 ++++
component/component.go | 6 ++--
go.mod | 2 +-
include/callstack.go | 2 +-
internal/compile/compile.go | 4 +--
internal/compile/component.go | 2 +-
internal/compile/compute.go | 2 +-
internal/compile/template.go | 4 +--
page/page.go | 10 +++----
part/part.go | 8 ++---
33 files changed, 96 insertions(+), 108 deletions(-)
delete mode 100644 cmd/run-mast-examples/main.go
delete mode 100644 cmd/run-mast-examples/parts/example-nav.html
rename cmd/{run-mast-examples => run-today-examples}/ex01-pages/example.go (56%)
rename cmd/{run-mast-examples => run-today-examples}/ex01-pages/page.html (89%)
rename cmd/{run-mast-examples => run-today-examples}/ex02-parts/example.go (64%)
rename cmd/{run-mast-examples => run-today-examples}/ex02-parts/page.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex02-parts/section.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex03-slots/example.go (64%)
rename cmd/{run-mast-examples => run-today-examples}/ex03-slots/page.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex03-slots/section.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex04-templates/example.go (71%)
rename cmd/{run-mast-examples => run-today-examples}/ex04-templates/page.html (95%)
rename cmd/{run-mast-examples => run-today-examples}/ex06-data/example.go (81%)
rename cmd/{run-mast-examples => run-today-examples}/ex06-data/message-printer.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex06-data/page.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex07-components/counter.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/ex07-components/example.go (58%)
rename cmd/{run-mast-examples => run-today-examples}/ex07-components/page.html (100%)
rename cmd/{run-mast-examples => run-today-examples}/index.html (73%)
create mode 100644 cmd/run-today-examples/main.go
create mode 100644 cmd/run-today-examples/parts/example-nav.html
rename cmd/{run-mast-examples => run-today-examples}/parts/parts.go (71%)
create mode 100644 cmd/run-today-examples/public/style.css
diff --git a/README.md b/README.md
index 085c5fb..98c82e2 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
-# Make a Site Today (Mast) Web Engine
+# Today Web Engine
-The Mast engine builds on Go's templating with reusable parts in the style of
+The Today engine builds on Go's templating with reusable parts in the style of
the Web Components standard. It aims to be usable for anything from static HTML
websites to complex applications with a mix of server and client-side behavior.
## Install
```sh
-go get git.earlybird.gay/mast-engine@latest
+go get git.earlybird.gay/today-engine@latest
```
## Usage
@@ -17,8 +17,8 @@ example. You can walk through these examples yourself by installing them as
an executable:
```sh
-go install git.earlybird.gay/mast-engine/cmd/run-mast-examples@latest
-run-mast-examples
+go install git.earlybird.gay/today-engine/cmd/run-today-examples@latest
+run-today-examples
```
## License
@@ -26,11 +26,11 @@ run-mast-examples
> This section is not legally binding, please read the license text for
> specifics!
-The Mast Web Engine is licensed under the LGPL (GNU Lesser General Public
+The Today Web Engine is licensed under the LGPL (GNU Lesser General Public
License). This license affects how you can run, modify, and distribute
-mast-engine. In short:
+today-engine. In short:
-- If you modify mast-engine, you have to publish your modifications under the
+- If you modify today-engine, you have to publish your modifications under the
GPL or LGPL.
-- If you use mast-engine without modifying it, you're in the clear.
-- Building a website using mast-engine does not count as modifying mast-engine.
+- If you use today-engine without modifying it, you're in the clear.
+- Building a website using today-engine does not count as modifying today-engine.
diff --git a/cmd/run-mast-examples/main.go b/cmd/run-mast-examples/main.go
deleted file mode 100644
index f99e1b4..0000000
--- a/cmd/run-mast-examples/main.go
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2024 early (LGPL)
-package main
-
-import (
- "net/http"
-
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/ex01-pages"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/ex02-parts"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/ex03-slots"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/ex04-templates"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/ex06-data"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/ex07-components"
- "git.earlybird.gay/mast-engine/page"
-)
-
-var index = page.New("index", "index.html")
-
-func main() {
- mux := new(http.ServeMux)
- mux.Handle("GET /{$}", index)
- mux.Handle("GET /ex01", ex01.Page)
- mux.Handle("GET /ex02", ex02.Page)
- mux.Handle("GET /ex03", ex03.Page)
- mux.Handle("GET /ex04", ex04.Page)
- mux.Handle("GET /ex06", ex06.Page)
- mux.Handle("GET /ex07", ex07.Page)
-
- http.ListenAndServe("0.0.0.0:3000", mux)
-}
diff --git a/cmd/run-mast-examples/parts/example-nav.html b/cmd/run-mast-examples/parts/example-nav.html
deleted file mode 100644
index d230c9a..0000000
--- a/cmd/run-mast-examples/parts/example-nav.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/cmd/run-mast-examples/ex01-pages/example.go b/cmd/run-today-examples/ex01-pages/example.go
similarity index 56%
rename from cmd/run-mast-examples/ex01-pages/example.go
rename to cmd/run-today-examples/ex01-pages/example.go
index 1978a2e..82bd9b2 100644
--- a/cmd/run-mast-examples/ex01-pages/example.go
+++ b/cmd/run-today-examples/ex01-pages/example.go
@@ -2,8 +2,8 @@
package ex01
import (
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/parts"
- "git.earlybird.gay/mast-engine/page"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/parts"
+ "git.earlybird.gay/today-engine/page"
)
var Page = page.New("ex01", "page.html", page.Includes(parts.ExampleNav))
diff --git a/cmd/run-mast-examples/ex01-pages/page.html b/cmd/run-today-examples/ex01-pages/page.html
similarity index 89%
rename from cmd/run-mast-examples/ex01-pages/page.html
rename to cmd/run-today-examples/ex01-pages/page.html
index 17ef3b1..1e3cc1d 100644
--- a/cmd/run-mast-examples/ex01-pages/page.html
+++ b/cmd/run-today-examples/ex01-pages/page.html
@@ -4,7 +4,7 @@
Example 1
- Basic Page
+ Static HTML
This is a static page. Hooray.
diff --git a/cmd/run-mast-examples/ex02-parts/example.go b/cmd/run-today-examples/ex02-parts/example.go
similarity index 64%
rename from cmd/run-mast-examples/ex02-parts/example.go
rename to cmd/run-today-examples/ex02-parts/example.go
index 8226eff..3a7b821 100644
--- a/cmd/run-mast-examples/ex02-parts/example.go
+++ b/cmd/run-today-examples/ex02-parts/example.go
@@ -2,9 +2,9 @@
package ex02
import (
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/parts"
- "git.earlybird.gay/mast-engine/page"
- "git.earlybird.gay/mast-engine/part"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/parts"
+ "git.earlybird.gay/today-engine/page"
+ "git.earlybird.gay/today-engine/part"
)
var section = part.New("my-section", "section.html")
diff --git a/cmd/run-mast-examples/ex02-parts/page.html b/cmd/run-today-examples/ex02-parts/page.html
similarity index 100%
rename from cmd/run-mast-examples/ex02-parts/page.html
rename to cmd/run-today-examples/ex02-parts/page.html
diff --git a/cmd/run-mast-examples/ex02-parts/section.html b/cmd/run-today-examples/ex02-parts/section.html
similarity index 100%
rename from cmd/run-mast-examples/ex02-parts/section.html
rename to cmd/run-today-examples/ex02-parts/section.html
diff --git a/cmd/run-mast-examples/ex03-slots/example.go b/cmd/run-today-examples/ex03-slots/example.go
similarity index 64%
rename from cmd/run-mast-examples/ex03-slots/example.go
rename to cmd/run-today-examples/ex03-slots/example.go
index 687cdea..823218b 100644
--- a/cmd/run-mast-examples/ex03-slots/example.go
+++ b/cmd/run-today-examples/ex03-slots/example.go
@@ -2,9 +2,9 @@
package ex03
import (
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/parts"
- "git.earlybird.gay/mast-engine/page"
- "git.earlybird.gay/mast-engine/part"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/parts"
+ "git.earlybird.gay/today-engine/page"
+ "git.earlybird.gay/today-engine/part"
)
var section = part.New("my-section", "section.html")
diff --git a/cmd/run-mast-examples/ex03-slots/page.html b/cmd/run-today-examples/ex03-slots/page.html
similarity index 100%
rename from cmd/run-mast-examples/ex03-slots/page.html
rename to cmd/run-today-examples/ex03-slots/page.html
diff --git a/cmd/run-mast-examples/ex03-slots/section.html b/cmd/run-today-examples/ex03-slots/section.html
similarity index 100%
rename from cmd/run-mast-examples/ex03-slots/section.html
rename to cmd/run-today-examples/ex03-slots/section.html
diff --git a/cmd/run-mast-examples/ex04-templates/example.go b/cmd/run-today-examples/ex04-templates/example.go
similarity index 71%
rename from cmd/run-mast-examples/ex04-templates/example.go
rename to cmd/run-today-examples/ex04-templates/example.go
index 32f0ae6..43f4cd2 100644
--- a/cmd/run-mast-examples/ex04-templates/example.go
+++ b/cmd/run-today-examples/ex04-templates/example.go
@@ -4,14 +4,14 @@ package ex04
import (
"text/template"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/parts"
- "git.earlybird.gay/mast-engine/page"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/parts"
+ "git.earlybird.gay/today-engine/page"
+ "git.earlybird.gay/today-engine/render"
)
var Page = page.New("ex04", "page.html",
page.OnLoad(func(data render.Data) error {
- data.Set("message", "Hello, Mast!")
+ data.Set("message", "Hello, Today!")
return nil
}),
page.Funcs(template.FuncMap{
diff --git a/cmd/run-mast-examples/ex04-templates/page.html b/cmd/run-today-examples/ex04-templates/page.html
similarity index 95%
rename from cmd/run-mast-examples/ex04-templates/page.html
rename to cmd/run-today-examples/ex04-templates/page.html
index 7bea144..23f0124 100644
--- a/cmd/run-mast-examples/ex04-templates/page.html
+++ b/cmd/run-today-examples/ex04-templates/page.html
@@ -16,7 +16,7 @@
var index = page.New("index", "index.html",
page.OnLoad(func(data render.Data) error {
- data.Set("message", "Hello, Mast!")
+ data.Set("message", "Hello, Today!")
return nil
}),
page.Funcs(template.FuncMap{
diff --git a/cmd/run-mast-examples/ex06-data/example.go b/cmd/run-today-examples/ex06-data/example.go
similarity index 81%
rename from cmd/run-mast-examples/ex06-data/example.go
rename to cmd/run-today-examples/ex06-data/example.go
index d85da0f..7154bd2 100644
--- a/cmd/run-mast-examples/ex06-data/example.go
+++ b/cmd/run-today-examples/ex06-data/example.go
@@ -5,10 +5,10 @@ import (
"errors"
"strings"
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/parts"
- "git.earlybird.gay/mast-engine/page"
- "git.earlybird.gay/mast-engine/part"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/parts"
+ "git.earlybird.gay/today-engine/page"
+ "git.earlybird.gay/today-engine/part"
+ "git.earlybird.gay/today-engine/render"
)
type exampleStruct struct {
diff --git a/cmd/run-mast-examples/ex06-data/message-printer.html b/cmd/run-today-examples/ex06-data/message-printer.html
similarity index 100%
rename from cmd/run-mast-examples/ex06-data/message-printer.html
rename to cmd/run-today-examples/ex06-data/message-printer.html
diff --git a/cmd/run-mast-examples/ex06-data/page.html b/cmd/run-today-examples/ex06-data/page.html
similarity index 100%
rename from cmd/run-mast-examples/ex06-data/page.html
rename to cmd/run-today-examples/ex06-data/page.html
diff --git a/cmd/run-mast-examples/ex07-components/counter.html b/cmd/run-today-examples/ex07-components/counter.html
similarity index 100%
rename from cmd/run-mast-examples/ex07-components/counter.html
rename to cmd/run-today-examples/ex07-components/counter.html
diff --git a/cmd/run-mast-examples/ex07-components/example.go b/cmd/run-today-examples/ex07-components/example.go
similarity index 58%
rename from cmd/run-mast-examples/ex07-components/example.go
rename to cmd/run-today-examples/ex07-components/example.go
index f9413be..8f7afb8 100644
--- a/cmd/run-mast-examples/ex07-components/example.go
+++ b/cmd/run-today-examples/ex07-components/example.go
@@ -2,9 +2,9 @@
package ex07
import (
- "git.earlybird.gay/mast-engine/cmd/run-mast-examples/parts"
- "git.earlybird.gay/mast-engine/component"
- "git.earlybird.gay/mast-engine/page"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/parts"
+ "git.earlybird.gay/today-engine/component"
+ "git.earlybird.gay/today-engine/page"
)
var Page = page.New("ex01", "page.html", page.Includes(parts.ExampleNav, counter))
diff --git a/cmd/run-mast-examples/ex07-components/page.html b/cmd/run-today-examples/ex07-components/page.html
similarity index 100%
rename from cmd/run-mast-examples/ex07-components/page.html
rename to cmd/run-today-examples/ex07-components/page.html
diff --git a/cmd/run-mast-examples/index.html b/cmd/run-today-examples/index.html
similarity index 73%
rename from cmd/run-mast-examples/index.html
rename to cmd/run-today-examples/index.html
index c75f526..ab51f28 100644
--- a/cmd/run-mast-examples/index.html
+++ b/cmd/run-today-examples/index.html
@@ -1,11 +1,11 @@
- Mast Engine Examples
+ Today Engine Examples
- Mast Engine Examples
- This is a set of examples for usage of the Mast Web Engine!
+ Today Engine Examples
+ This is a set of examples for usage of the Today Web Engine!
Links
- Pages
diff --git a/cmd/run-today-examples/main.go b/cmd/run-today-examples/main.go
new file mode 100644
index 0000000..bf0c9c2
--- /dev/null
+++ b/cmd/run-today-examples/main.go
@@ -0,0 +1,29 @@
+// Copyright (C) 2024 early (LGPL)
+package main
+
+import (
+ "net/http"
+
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/ex01-pages"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/ex02-parts"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/ex03-slots"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/ex04-templates"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/ex06-data"
+ "git.earlybird.gay/today-engine/cmd/run-today-examples/ex07-components"
+ "git.earlybird.gay/today-engine/page"
+)
+
+var index = page.New("index", "index.html")
+
+func main() {
+ mux := new(http.ServeMux)
+ mux.Handle("GET /{$}", index)
+ mux.Handle("GET /ex01", ex01.Page)
+ mux.Handle("GET /ex02", ex02.Page)
+ mux.Handle("GET /ex03", ex03.Page)
+ mux.Handle("GET /ex04", ex04.Page)
+ mux.Handle("GET /ex06", ex06.Page)
+ mux.Handle("GET /ex07", ex07.Page)
+
+ http.ListenAndServe("0.0.0.0:3000", mux)
+}
diff --git a/cmd/run-today-examples/parts/example-nav.html b/cmd/run-today-examples/parts/example-nav.html
new file mode 100644
index 0000000..e704aae
--- /dev/null
+++ b/cmd/run-today-examples/parts/example-nav.html
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/cmd/run-mast-examples/parts/parts.go b/cmd/run-today-examples/parts/parts.go
similarity index 71%
rename from cmd/run-mast-examples/parts/parts.go
rename to cmd/run-today-examples/parts/parts.go
index 2a7fc4e..2921182 100644
--- a/cmd/run-mast-examples/parts/parts.go
+++ b/cmd/run-today-examples/parts/parts.go
@@ -1,6 +1,6 @@
// Copyright (C) 2024 early (LGPL)
package parts
-import "git.earlybird.gay/mast-engine/part"
+import "git.earlybird.gay/today-engine/part"
var ExampleNav = part.New("example-nav", "example-nav.html")
diff --git a/cmd/run-today-examples/public/style.css b/cmd/run-today-examples/public/style.css
new file mode 100644
index 0000000..7d27a61
--- /dev/null
+++ b/cmd/run-today-examples/public/style.css
@@ -0,0 +1,5 @@
+nav {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+}
\ No newline at end of file
diff --git a/component/component.go b/component/component.go
index 6c26470..b918c50 100644
--- a/component/component.go
+++ b/component/component.go
@@ -2,8 +2,8 @@
package component
import (
- "git.earlybird.gay/mast-engine/include"
- "git.earlybird.gay/mast-engine/internal/compile"
+ "git.earlybird.gay/today-engine/include"
+ "git.earlybird.gay/today-engine/internal/compile"
)
type Component struct {
@@ -25,7 +25,7 @@ func New(name string, source string, optional ...func(*Component)) *Component {
p := new(Component)
// Assign basic parameters
p.name = name
- p.source = include.File(source, "git.earlybird.gay/mast-engine/component")
+ p.source = include.File(source, "git.earlybird.gay/today-engine/component")
// Run optional arguments
for _, of := range optional {
of(p)
diff --git a/go.mod b/go.mod
index 6893875..94e6cec 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module git.earlybird.gay/mast-engine
+module git.earlybird.gay/today-engine
go 1.22.0
diff --git a/include/callstack.go b/include/callstack.go
index 91b57d0..e006993 100644
--- a/include/callstack.go
+++ b/include/callstack.go
@@ -13,7 +13,7 @@ var ErrNoRuntimeAccess = errors.New("couldn't access the runtime")
var callStackNotEligible = []string{
"runtime",
- "git.earlybird.gay/mast-engine/include",
+ "git.earlybird.gay/today-engine/include",
}
func isNotEligible(caller string, ignorePackages []string) bool {
diff --git a/internal/compile/compile.go b/internal/compile/compile.go
index 4dd8cf1..7b12752 100644
--- a/internal/compile/compile.go
+++ b/internal/compile/compile.go
@@ -7,8 +7,8 @@ import (
"maps"
"strings"
- "git.earlybird.gay/mast-engine/include"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/include"
+ "git.earlybird.gay/today-engine/render"
"golang.org/x/net/html"
)
diff --git a/internal/compile/component.go b/internal/compile/component.go
index b0d7aa7..e335559 100644
--- a/internal/compile/component.go
+++ b/internal/compile/component.go
@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
- "git.earlybird.gay/mast-engine/htmltree"
+ "git.earlybird.gay/today-engine/htmltree"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
)
diff --git a/internal/compile/compute.go b/internal/compile/compute.go
index 97735fc..d14e84b 100644
--- a/internal/compile/compute.go
+++ b/internal/compile/compute.go
@@ -7,7 +7,7 @@ import (
"reflect"
"strings"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/render"
)
type computeNode struct {
diff --git a/internal/compile/template.go b/internal/compile/template.go
index 0077ce9..a53bdc6 100644
--- a/internal/compile/template.go
+++ b/internal/compile/template.go
@@ -7,8 +7,8 @@ import (
"regexp"
"strings"
- "git.earlybird.gay/mast-engine/htmltree"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/htmltree"
+ "git.earlybird.gay/today-engine/render"
"golang.org/x/net/html"
)
diff --git a/page/page.go b/page/page.go
index 539e4e3..416b10b 100644
--- a/page/page.go
+++ b/page/page.go
@@ -4,10 +4,10 @@ package page
import (
"html/template"
- "git.earlybird.gay/mast-engine/htmltree"
- "git.earlybird.gay/mast-engine/include"
- "git.earlybird.gay/mast-engine/internal/compile"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/htmltree"
+ "git.earlybird.gay/today-engine/include"
+ "git.earlybird.gay/today-engine/internal/compile"
+ "git.earlybird.gay/today-engine/render"
)
type Page struct {
@@ -56,7 +56,7 @@ func New(name string, source string, optional ...func(*Page)) *Page {
p := new(Page)
// Assign basic parameters
p.name = name
- p.source = include.File(source, "git.earlybird.gay/mast-engine/page")
+ p.source = include.File(source, "git.earlybird.gay/today-engine/page")
p.onLoad = func(d render.Data) error {
return nil
}
diff --git a/part/part.go b/part/part.go
index 00d0a6c..cefe05c 100644
--- a/part/part.go
+++ b/part/part.go
@@ -4,9 +4,9 @@ package part
import (
"text/template"
- "git.earlybird.gay/mast-engine/include"
- "git.earlybird.gay/mast-engine/internal/compile"
- "git.earlybird.gay/mast-engine/render"
+ "git.earlybird.gay/today-engine/include"
+ "git.earlybird.gay/today-engine/internal/compile"
+ "git.earlybird.gay/today-engine/render"
)
type Part struct {
@@ -44,7 +44,7 @@ func New(name string, source string, optional ...func(*Part)) *Part {
p := new(Part)
// Assign basic parameters
p.name = name
- p.source = include.File(source, "git.earlybird.gay/mast-engine/part")
+ p.source = include.File(source, "git.earlybird.gay/today-engine/part")
p.onLoad = func(d render.Data) error {
return nil
}
--
2.39.5