-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple templates being used in single page
- Loading branch information
1 parent
339dea1
commit 685185c
Showing
2 changed files
with
50 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2024 Jelly Terra | ||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0 | ||
// that can be found in the LICENSE file and https://mozilla.org/MPL/2.0/. | ||
|
||
package structure | ||
|
||
const ( | ||
_ = iota | ||
|
||
WAITING // Waiting for other content being generated. | ||
FAILED // Error occurred. | ||
DONE // Content generated successfully. | ||
) | ||
|
||
type Job struct { | ||
Requires []string `toml:"requires"` | ||
} | ||
|
||
func (j *Job) Execute() error { | ||
// TODO | ||
return nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters