This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
type CommonInterface interface { | |
Create() | |
Destroy() | |
} | |
type ConcreteA struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-toolbar color="accent"> | |
<button mat-icon-button matTooltip="Application Menu" (click)="sidenav.toggle()"> | |
<mat-icon>settings</mat-icon> | |
</button> | |
Account Settings | |
<span style="flex: 1 1 auto;"></span> | |
<div> | |
<button mat-icon-button matTooltip="Switch Apps"> | |
<mat-icon>apps</mat-icon> | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-toolbar color="accent"> | |
<button mat-icon-button matTooltip="Application Menu" (click)="sidenav.toggle()"> | |
<mat-icon>settings</mat-icon> | |
</button> | |
Account Settings | |
</mat-toolbar> | |
<mat-sidenav-container style="height: calc(100% - 64px); margin: 0;"> | |
<mat-sidenav #sidenav mode="side" [class.mat-elevation-z4]="true" style="width: 240px"> | |
</mat-sidenav> | |
<mat-sidenav-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import {AppComponent} from './app.component'; | |
import { | |
MatButtonModule, | |
MatExpansionModule, | |
MatIconModule, | |
MatListModule, | |
MatMenuModule, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-toolbar color="accent"> | |
<button mat-icon-button matTooltip="Application Menu" (click)="sidenav.toggle()"> | |
<mat-icon>settings</mat-icon> | |
</button> | |
Account Settings | |
</mat-toolbar> | |
<mat-sidenav-container style="height: calc(100% - 64px); margin: 0;"> | |
<mat-sidenav #sidenav mode="side" [class.mat-elevation-z4]="true" style="width: 240px"> | |
</mat-sidenav> | |
<mat-sidenav-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"compress/gzip" | |
"encoding/json" | |
"fmt" | |
"net/http" | |
"os" | |
) | |
type poloniexData struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"reflect" | |
"strings" | |
"time" | |
) | |
const dtotag = "dto" |