Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 595 Bytes

File metadata and controls

28 lines (21 loc) · 595 Bytes

Mock interface

Function

Fast mock interface improves development efficiency.

How to use

METHOD 1:(You must have go environment)

  1. Run main.go
  2. Add your interface use command "add"
  3. Then input your pattern end with '$'
  4. Next input your content end with '$'
  5. Finally interface added

METHOD 2:(Don't need go environment)

  1. For MacOS:

Run CreateInterface/bin/mainMacOS

  1. For Windows:

Run CreateInterface/bin/main.exe

Tips:

The pattern you input must start with '/'

Visit interface

Default port is 4000
Visit example:

127.0.0.1:4000[your pattern]