-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
54 additions
and
26 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 |
---|---|---|
|
@@ -6,4 +6,4 @@ pr-label= | |
since-tag=v0.1.0 | ||
user=pancsta | ||
project=asyncmachine-go | ||
unreleased=false | ||
unreleased=true |
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
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
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,25 @@ | ||
package states | ||
|
||
import am "github.com/pancsta/asyncmachine-go/pkg/machine" | ||
|
||
// S is a type alias for a list of state names. | ||
type S = am.S | ||
|
||
// State is a type alias for a state definition. | ||
type State = am.State | ||
|
||
// SAdd is a func alias for merging lists of states. | ||
var SAdd = am.SAdd | ||
|
||
// StateAdd is a func alias for adding to an existing state definition. | ||
var StateAdd = am.StateAdd | ||
|
||
// StateSet is a func alias for replacing parts of an existing state | ||
// definition. | ||
var StateSet = am.StateSet | ||
|
||
// StructMerge is a func alias for extending an existing state structure. | ||
var StructMerge = am.StructMerge | ||
|
||
// Exception is a type alias for the exception state. | ||
var Exception = am.Exception |