-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (56 loc) · 2.41 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Golang interface mocker</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="vendors/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="vendors/codemirror/theme/material-darker.css">
</head>
<body>
<div class="row banner">
<div class="col-sm">
<h2 class="text-center">Mock generator for Go</h2>
</div>
<div class="col-sm">
<p>
This is a tool to instantly generate mock code for a given interface. This can be used to
mock dependancies while writing unit tests. To no more about how to mock dependancies and write good
unit tests, refer this.
</p>
</div>
<div class="col-sm text-center">
<a href="https://github.com/arjunmahishi/go-interface-mocker">
<div class="col">
<img class="img-fluid github-logo" src="img/Octocat.png"/>
</div>
<div class="col">
<p>Contribute to this project on github</p>
</div>
</a>
</div>
</div>
<div class="row justify-content-sm-center">
<div class="col-sm col-md-6">
<h2 class="text-center">Interface</h2>
<div class="editor" id="input-editor"></div>
</div>
<div class="col-sm col-md-6">
<h2 class="text-center">Mock code</h2>
<div class="editor" id="output-editor"></div>
</div>
</div>
<footer class="text-center text-muted">
2019-present <br>
Built by <a href="https://twitter.com/arjunmahishi">@arjunmahishi</a>
<!-- <br>
The Go Gopher artwork is a derivative of that by Renee French. -->
</footer>
</body>
<script src="vendors/codemirror/lib/codemirror.js"></script>
<script src="vendors/codemirror/mode/go/go.js"></script>
<script src="js/main.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</html>