Skip to content

Commit

Permalink
minor changes in documentary
Browse files Browse the repository at this point in the history
  • Loading branch information
deemount committed Mar 21, 2024
1 parent 5eacd09 commit 0147f5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# gobpmnBuilder

**Note:** This module is under construction
gobpmnBuilder is a tool for reading and creating business process models in various formats, such as XML or JSON. It is the last of all modules in the gobpmn network that can be called.

## Wiki

The [documentation](https://github.com/deemount/gobpmnBuilder/wiki) is now written in the wiki of the respective module
Read the [documentation](https://github.com/deemount/gobpmnBuilder/wiki)

**Start here** [gobpmn](https://github.com/deemount/gobpmn)

Expand Down
8 changes: 5 additions & 3 deletions builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ type (
// bpmn file in the particular directory.
Builder struct {
Counter int // Counter is the number of created files
FilenamePrefix string // CurrentFile is the name of the current file
ModelType string // ModelType is the type of the model (can be human or technical)
FilenamePrefix string // FilenamePrefix is a part of the name of the current file
ModelType string // ModelType is the type of the model
FilePathBPMN string // FilePathBPMN is the path to the bpmn files
FilePathJSON string // FilePathJSON is the path to the json files
Def *core.Definitions // Def is the definition of the model
Expand Down Expand Up @@ -93,7 +93,9 @@ func (bldr *Builder) SetDefinitionsByArg(r core.DefinitionsRepository) {
// and calls the main elements to set the maps, including process parameters
// n of process. The method contains the reflected process definition (p interface{})
// and calls it by the reflected method name.
// Note: This method hides specific setters (SetProcess, SetCollaboration, SetDiagram).
//
// Note:
// This method hides specific setters (SetProcess, SetCollaboration, SetDiagram).
func (bldr *Builder) Defaults(p interface{}, c *gobpmn_count.Quantities) {

// el is the interface {} of a given definition
Expand Down
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func WithCounter(path ...string) Option {
// reading the directory with the path to the specified files
files, err := os.ReadDir(filepath)
if err != nil {
log.Panic(err)
return err
}

// get the length of the files
Expand Down

0 comments on commit 0147f5b

Please sign in to comment.