Skip to content

Commit

Permalink
- fixed lint error: file with same module name.
Browse files Browse the repository at this point in the history
  • Loading branch information
laststylebender14 committed Jun 17, 2024
1 parent 3c66c7e commit de2d1fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ use std::path::Path;
use inquire::Confirm;
use pathdiff::diff_paths;

use super::config::{GeneratorConfig, InputSource, Resolved};
use crate::core::config::{self, ConfigModule};
use crate::core::generator::source::{ConfigSource, ImportSource};
use crate::core::generator::{ConfigInput, Generator, JsonInput, ProtoInput};
use crate::core::proto_reader::ProtoReader;
use crate::core::resource_reader::ResourceReader;
use crate::core::runtime::TargetRuntime;

use super::config::{GeneratorConfig, InputSource, Resolved};

/// Checks if file or folder already exists or not.
fn is_exists(path: &str) -> bool {
fs::metadata(path).is_ok()
Expand Down
4 changes: 2 additions & 2 deletions src/cli/generator/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mod generator;
mod config;
mod config_generator;

pub use generator::ConfigConsoleGenerator;
pub use config_generator::ConfigConsoleGenerator;

1 comment on commit de2d1fa

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 6.62ms 3.08ms 97.41ms 72.72%
Req/Sec 3.83k 194.73 4.46k 90.67%

456873 requests in 30.01s, 2.29GB read

Requests/sec: 15224.76

Transfer/sec: 78.14MB

Please sign in to comment.