File tree Expand file tree Collapse file tree 13 files changed +52
-0
lines changed Expand file tree Collapse file tree 13 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The golang.design Initiative authors.
2
+ # All rights reserved. Use of this source code is governed
3
+ # by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
---
2
6
addr : localhost:6789
3
7
mode : debug
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The golang.design Initiative authors.
2
+ # All rights reserved. Use of this source code is governed
3
+ # by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
---
2
6
addr : 0.0.0.0:6789
3
7
mode : release
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The golang.design Initiative authors.
2
+ # All rights reserved. Use of this source code is governed
3
+ # by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
FROM golang:1.14-alpine
2
6
WORKDIR /app
3
7
ADD . /app
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 The golang.design Initiative authors.
2
+ // All rights reserved. Use of this source code is governed
3
+ // by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
document . getElementById ( 'dark-mode-checkbox' ) . onchange = ( ) => {
2
6
darkmode ( )
3
7
}
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 The golang.design Initiative authors.
2
+ // All rights reserved. Use of this source code is governed
3
+ // by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
function ping ( ) {
2
6
fetch ( '/api/v1/ping' ) . then ( res => res . json ( ) ) . then ( data => {
3
7
document . getElementById ( 'version' ) . innerText = data . go_version ;
Original file line number Diff line number Diff line change
1
+ /* Copyright 2020 The golang.design Initiative authors.
2
+ All rights reserved. Use of this source code is governed
3
+ by a GPLv3 license that can be found in the LICENSE file. */
4
+
1
5
/* better scroll bar */
2
6
::-webkit-scrollbar {
3
7
width : 10px ;
Original file line number Diff line number Diff line change
1
+ /* Copyright 2020 The golang.design Initiative authors.
2
+ All rights reserved. Use of this source code is governed
3
+ by a GPLv3 license that can be found in the LICENSE file. */
4
+
1
5
body {
2
6
margin : 0 ;
3
7
}
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 The golang.design Initiative authors.
2
+ // All rights reserved. Use of this source code is governed
3
+ // by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
package boot
2
6
3
7
import (
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 The golang.design Initiative authors.
2
+ // All rights reserved. Use of this source code is governed
3
+ // by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
package config
2
6
3
7
import (
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 The golang.design Initiative authors.
2
+ // All rights reserved. Use of this source code is governed
3
+ // by a GPLv3 license that can be found in the LICENSE file.
4
+
1
5
package route
2
6
3
7
import (
You can’t perform that action at this time.
0 commit comments