Skip to content

Instantly share code, notes, and snippets.

View oseifrimpong's full-sized avatar
🎯
Focus

Obed Osei Frimpong oseifrimpong

🎯
Focus
View GitHub Profile
@oseifrimpong
oseifrimpong / folder_structure.md
Created September 28, 2023 14:57 — forked from ayoubzulfiqar/folder_structure.md
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
### Keybase proof
I hereby claim:
* I am oseifrimpong on github.
* I am obed3310 (https://keybase.io/obed3310) on keybase.
* I have a public key ASBOiwxvIMUwjqMgXXF0hxMmCEAbzVWQS5abNT3DUPhrMAo
To claim this, I am signing this object:
import { PropTypes } from 'prop-types';
import React, { Component } from 'react';
import { View, Text, StyleSheet, Image, TouchableOpacity } from 'react-native';
// import { StackNavigator } from 'react-navigation';
// import SignUp from './SignUp';
const styles = StyleSheet.create({
container: {
flex: 1,
http://www.oreilly.com/data/free/files/2014-data-science-salary-survey.pdf
http://www.oreilly.com/data/free/files/2015-data-science-salary-survey.pdf
http://www.oreilly.com/data/free/files/Data_Analytics_in_Sports.pdf
http://www.oreilly.com/data/free/files/advancing-procurement-analytics.pdf
http://www.oreilly.com/data/free/files/ai-and-medicine.pdf
http://www.oreilly.com/data/free/files/analyzing-data-in-the-internet-of-things.pdf
http://www.oreilly.com/data/free/files/analyzing-the-analyzers.pdf
http://www.oreilly.com/data/free/files/architecting-data-lakes.pdf
http://www.oreilly.com/data/free/files/being-a-data-skeptic.pdf
http://www.oreilly.com/data/free/files/big-data-analytics-emerging-architecture.pdf
<h2>Sign up</h2>
<!--<% resource.profile || resource.build_profile %> -->
<% resource.build_profile %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
app/controllers/targeting_controller.rb:8:in `show'
actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__2958441726183771221__process_action__3009639004342221532__callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
class HomeController < ApplicationController
def index()
@selected_account = selected_account
end
end
AdwordsOnRails::Application.routes.draw do
# The priority is based upon order of creation:
# first created -> highest priority.
get 'login/prompt'
get 'login/callback'
get 'login/logout'
require 'adwords_api'
class LoginController < ApplicationController
skip_before_filter :authenticate
GOOGLE_LOGOUT_URL = 'https://www.google.com/accounts/Logout'
def prompt()
api = get_adwords_api()
require 'adwords_api'
class ApplicationController < ActionController::Base
before_filter :authenticate
protect_from_forgery
private
# Returns the API version in use.