Skip to content

design pattern: chain-of-responsibility, implements in rust.

License

Notifications You must be signed in to change notification settings

yuer1727/chain-of-responsibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chain-of-responsibility

design mode: chain-of-responsibility, implements in rust.

running test command: cargo test -- --nocapture

running test result:

主任:dd,审批采购数量:10001,金额:55000元,采购目的:项目需要
副董事长:vv,审批采购数量:10001,金额:55000元,采购目的:项目需要
主任:dd,审批采购数量:10002,金额:200000元,采购目的:饭堂开销需要
副董事长:vv,审批采购数量:10002,金额:200000元,采购目的:饭堂开销需要
董事长:pp,审批采购数量:10002,金额:200000元,采购目的:饭堂开销需要
主任:dd,审批采购数量:10003,金额:2000000元,采购目的:买办公室
副董事长:vv,审批采购数量:10003,金额:2000000元,采购目的:买办公室
董事长:pp,审批采购数量:10003,金额:2000000元,采购目的:买办公室
董事会:cc,审批采购数量:10003,金额:2000000元,采购目的:买办公室

About

design pattern: chain-of-responsibility, implements in rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages